-
1. Re: [jbpm5] how to restart a completed usertask
calca Nov 1, 2011 7:22 AM (in response to aronjiao)Hi Jeffery,
I don't think you will be able to make it. If you see the user guide (and the ws human task standard),
http://docs.jboss.org/jbpm/v5.1/userguide/ch.Human_Tasks.html#d0e3368
Into the human task life cycle there is no way to re open a task.
I think there should be a new task to modify data from the complete task.
Demian
-
2. Re: [jbpm5] how to restart a completed usertask
aronjiao Nov 1, 2011 9:25 PM (in response to calca)thank you for your guidance . and is there any api to modify data or copy from a complete task.
-
3. Re: [jbpm5] how to restart a completed usertask
calca Nov 2, 2011 8:43 AM (in response to aronjiao)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
-
4. Re: [jbpm5] how to restart a completed usertask
aronjiao Nov 4, 2011 2:58 AM (in response to calca)thank you very much.