[jboss-user] [jBPM] - Re: how do we assign the rejected tasks to initiator in Approval flow.

Shobhit Tyagi do-not-reply at jboss.com
Thu May 23 13:41:25 EDT 2013


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130523/2157be64/attachment.html 


More information about the jboss-user mailing list