[jboss-user] [jBPM] - Task Completion Error

Rudolf Michael do-not-reply at jboss.com
Tue Apr 6 04:03:13 EDT 2010


Rudolf Michael [http://community.jboss.org/people/ruds] created the discussion

"Task Completion Error"

To view the discussion, visit: http://community.jboss.org/message/535701#535701

--------------------------------------------------------------
hello there,
i have a normal task with a transition to another task.
when i complete the first task by hitting engine.getTaskService().completeTask(taskId); everything works okay. But i want to add some user input related to the task so i did the following:

Map<String, Object> variables = new HashMap<String, Object>(); 
variables.put("SDate", startDate);
variables.put("EDate", endDate);
variables.put("Message", message);

engine.getTaskService().completeTask(taskId, variables);

and i am getting an exception there stating the following:
### EXCEPTION ###########################################
10:50:26,965 INF   | [DefaultCommandService] exception while executing command org.jbpm.pvm.internal.cmd.CompositeCmd at a39de
org.jbpm.api.JbpmException: No unnamed transitions were found for the task 'Employee submits timesheet'

i wanna add some user input related to the task so it can be reviewed by the manager for approval.
can someone help me on this please.

best regards,
ruds

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/535701#535701]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100406/0d11aa8c/attachment.html 


More information about the jboss-user mailing list