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@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&...]