[jboss-user] [jBPM] - JBPM 4.4 taskService.completeTask leaves no task outcome specified in history.

Caine Lai do-not-reply at jboss.com
Wed Aug 11 19:41:55 EDT 2010

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" />


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

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100811/c6e104fc/attachment-0001.html 

More information about the jboss-user mailing list