helal jean-noel [http://community.jboss.org/people/jnhelal] created the 
discussion

"Re: how to assign assignee to a task at run time"

To view the discussion, visit: http://community.jboss.org/message/589487#589487

--------------------------------------------------------------
Please readout the 4.4 user guide and the task node attribute description

Assuming the user is named "ayusman" You may set <task mame="myTask" 
assignee="ayusman" ..> into the process définition.
When "myTask" is reached, the task can be queried among others as "assigned to 
ayusman" with something like 
     TaskService.createQuery().assignee("ayusman").list()

Same holds with "candidate" attribute.

 Same principle again with "candidate-goups" attributes but this time you have 
to set a group and membership "ayousman" to it

Regards
jnh
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/589487#589487]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to