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?