[jboss-user] [jBPM] - Re: [jbpm5] how to restart a completed usertask

Demian Calcaprina do-not-reply at jboss.com
Wed Nov 2 08:44:28 EDT 2011


Demian Calcaprina [http://community.jboss.org/people/calca] created the discussion

"Re: [jbpm5] how to restart a completed usertask"

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

--------------------------------------------------------------
Well, I don't exacly know which is your process, but you could make it through the process variable mappings.

For example,

Start -> Human Task 1 -> if some condition -> Human Task 2 (which is a copy of HT1)

You can map the output of the human task 1 to the process variables, and use it as input of human task 2.

You could also try to make it into the code. If you have the task id of the first task, you can get the task inputs with a code like this:
 http://dcalca.files.wordpress.com/2011/05/input.png http://dcalca.files.wordpress.com/2011/05/input.png
And then use it to complete the task 2.

Hope this help,

Demian
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20111102/52b4ee31/attachment.html 


More information about the jboss-user mailing list