Shobhit Tyagi [https://community.jboss.org/people/roxy1987] created the 
discussion

"Re: how do we assign the rejected tasks to initiator in Approval flow."

To view the discussion, visit: https://community.jboss.org/message/819164#819164

--------------------------------------------------------------
Rajesh,

You will need to include a human task for the initiator. Because if you dont do 
it, and if you try and assign the rejected task to the initiator, your first 
level approval will be out of the definition.

First task assigned to a variable using expression and set as #{initiator}.
Second task for the approver. To decide whether the task is rejected or is 
approved, use a decision node with two transactions coming out. One going back 
to the initiator task(rejected case) and other to the next level approver(in 
case the task is approved).
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to