By default, the WSHumanTaskHandler also completes the human task node if
the human task has been failed (check out the source code for details:
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-process/...
).
You can easily change this behaviour by implementing your own handler
though. You could for example add the task as a result parameter, or
add a status result parameter that contains the final state of the task.
Simply add these to the results map in
WSHumanTaskHandler.GetCompletedTaskResponseHandler.
Kris
Quoting Anderson vasconcelos <anderson.vass(a)gmail.com>:
I have a flow that user (Human Task) can choose two ways: Valid
Ticket and
Invalid Ticket
To pass to valid way, i used a MinataskClient.Complete and it works.
But to go to invalid way, i try to used MinaTaskClient.fail, but
this
command not continue my task.
My question is:
1) Whats the bast way to invalidade a ticket and finish the flow?
2) Its possible to get the task inside Split Constaint? (I think in
this
possibility. I get the task and check if it status=='FAILED')
Thanks
Disclaimer:
http://www.kuleuven.be/cwis/email_disclaimer.htm