I need to create 3 event handlers, triggered when one human task :
- is activated (or initialized)
- When it's assigned to a user
- When it's completed (with errors or not)
I'm able to get the third done using the state "completed" of flowNodeInstance.getStateName()
For the first one the status ready is not good because a Human task is ready also after execution, so my event is triggered twice.
I didn't find this information in the documentation, any help is appreciated,