[
https://jira.jboss.org/jira/browse/JBPM-2377?page=com.atlassian.jira.plug...
]
Shekhar Vemuri commented on JBPM-2377:
--------------------------------------
consider this process-definition:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<process key="CompletedOutcome" name="CompletedOutcome"
xmlns="http://jbpm.org/4.0/jpdl">
<start g="20,20,48,48">
<transition to="review"/>
</start>
<task name="review" g="96,16,127,52">
<assignment-handler
class="RandomTaskHandler"/>
<transition to="redpill"/>
<transition name="completed" to="bluepill"/>
</task>
<end name="redpill" g="255,16,88,52"/>
<end name="bluepill" g="255,16,88,75"/>
</process>
taskService.completeTask(777, null);
Guess where the workflow will end when the task is ended. Irrespective of what OUTCOME you
pass to the completeTask, null or 'completed' it will always end up in
'bluepill'.
verify task outcomes
--------------------
Key: JBPM-2377
URL:
https://jira.jboss.org/jira/browse/JBPM-2377
Project: JBoss jBPM
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Runtime Engine
Reporter: Tom Baeyens
Assignee: Tom Baeyens
check if get outcomes is as expected (see forum thread)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira