I've got "Assign Multiple Tasks" service in process with 2 participants User1, User2.
ES3: After completion task by User1, second task is deadlined and TaskDeadlined event is sent.
ES4:After completion task by User1, second task is deadlined but NO TaskDeadlined event is sent.
I spent all day by looking for bug in my code and in the end i surprisingly found that things has been changed on livecycle side.
Specifically TaskManagerServiceImpl version 11 has been changed. When classOftask is Multi, Deadlined event is not send as shown below.
A. It's the same with Terminated Event.
B. It's the same when you deadline or terminate task by hand etc. with java api.
I think it is bug, Task has status deadlined or terminated but no event is sent but with Standard task everything work like charm.
If it's not bug maybe it is worthy to mention this behaviour in documentation or somewhere.
Adobe, Is there any reason, why things has been changed?
String classOfTask = ((DefaultCompleteTaskResult)_result).getClassOfTask();
if ((classOfTask != null) && (!classOfTask.startsWith("Multi")))
_eventData = new TaskEventHolder();
Completes a task with a deadline event.
Completes a task with a terminate event.