AnsweredAssumed Answered

complete Task

Question asked by mhdshahdoost on Sep 3, 2011
Latest reply on Sep 4, 2011 by trademak
hi , i have a BPMN 2.0 diagram that contain 2 human Task [user script] notations with two listener [TaskListener] bind to each notation.
each user script Listener show dialog box [swing base] and save some data into database , after user save data [click button] i want current task complete
and engine goes to another notation , i use this API :


on Listener and after data save but get this error :

org.activiti.engine.ActivitiException: Cannot find task with id 2407

i checked database table [act_ru_task] and find after program closed this task create.

how can i complete current task with API ?