JBoss Community

Re: [jbpm5] how to restart a completed usertask

created by Demian Calcaprina in jBPM - View the full discussion

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

And then use it to complete the task 2.

 

Hope this help,

 

Demian

Reply to this message by going to Community

Start a new discussion in jBPM at Community