Caine Lai [
http://community.jboss.org/people/unsavory] created the discussion
"JBPM 4.4 taskService.completeTask leaves no task outcome specified in
history."
To view the discussion, visit:
http://community.jboss.org/message/556990#556990
--------------------------------------------------------------
After upgrading our database from JBPM 4.1 to 4.4 a strange problem has arisen.
For some reason when we complete tasks using:
taskService.completeTask(taskId, "completed");
We end up with the following being recorded as the task outcome:
jbpm_no_task_outcome_specified_jbpm
Whereas is should be: "completed".
Here is the task element in question:
<task name="screen_applicant" candidate-groups="INTERNAL">
<transition name="completed" to="send_screened_email" />
<transition name="rejected" to="rejected" />
</task>
Also by looking in the JBPM4_hist_task table I can see that the status of the task is
marked as "obsolete".
Any clue what could be causing this?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/556990#556990]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]