Can we execute external task on task lifecycle events

Well in one Project where we needed a Listener as an external Taks worker, we used a Scrip in the task listener to basically set a variable. Then we used in BPMN an event subprocess with a non interrupting conditional event that was triggered once the variable was set. This was followed by a service task which we implemented as external worker and was the main listener… something similar like this example.bpmn (4.2 KB)

Of course your model might get a little bit more unstructured… Depending on how many different Listeners you need…

2 Likes