This content has been marked as final.
Show 2 replies
-
1. Re: Custom action on task assign
swiderski.maciej Jan 21, 2015 1:23 AM (in response to horvie)1 of 1 people found this helpfulsince process life cycle and task life cycle are decoupled then the only way is to use task listeners. You can filter out only given process definitions within the listener to achieve sort of process level actions - each task has task data where it stores processId that is the process definition identifier.
HTH
-
2. Re: Custom action on task assign
horvie Jan 22, 2015 2:27 AM (in response to swiderski.maciej)I went with similar solution. I package my action classes in kjar(s) since they are process dependent. Inside listener I get the deployment via task data. Then scan the deployment for corresponding actions and execute them.