As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
By "Order Canceled", you mean the service-task "Auto generate …"?If it's a service-task, there is no task-id, only an "activity id", since there is no user-input required for a service-task, no UserTask is create.
<br>class ListenerTaskDue implements TaskListener {<br><br> @Override<br> public void notify(DelegateTask delegateTask) {<br> // TODO Auto-generated method stub<br> System.out.println(delegateTask.getId());<br> }<br>}<br>