Workflow, dynamic participant, participant chooser question


hi,

 

i have question regarding workflows, dynamic participant group step. want create participant chooser includes group excludes workflow initiator. reason need because recieved following requirement:

 

the requirement recieved was: create rule author , editor can not same person.

 

i've looked @ documentation at:

http://dev.day.com/docs/en/cq/current/workflows/wf-ref/workflow_steps.html

 

i'm not sure how proceed this. suggestions appreciated. example showed how can workflow initiator unsure how list of users in group?

 

is there way of achieving rule?

 

thanks help!

hello,

 

i think can implement in 2 ways both require customization.

 

#1: use "dialog participant step" allow select group/user whom want assign task. because dialog step, allow initiator select user list of users (when assigned group @ step configuration). here see users associated group can customize extending "/libs/cq/workflow/components/model/participant" , "/libs/cq/workflow/components/model/dialog" because "/libs/cq/workflow/components/model/dialog/dialog/items/tabs/items/participant" refer ""/libs/cq/workflow/components/model/participant" componet. ""/libs/cq/workflow/components/model/participant" has "/libs/cq/workflow/components/model/participant/details.jsp" scriptlet display list of user in group, customize scriptlet mainly.

 

#2: go "dynamic participant step" allow create own dynamic ecma script list out users group example "/etc/workflow/scripts/initiator-participant-chooser.ecma" not dialog step have make dialog step above , have extend /libs/cq/workflow/components/workflow/initiatorparticipantchooser

 

i hope above give idea proceed.

 

thanks,

pawan



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support