I want to subscribe the “Changes” of specified activities
What “Changes” means ? That means activity instance created or activity instance complete.
I know there is a way to do this job by add listener to bpmn file.
But in my case which activity should add listener is uncertain that means i need a way to add the listeners to specified activities at runtime.
Is there such way exists ? Thanks.