If your action handler is attached to a node, then you should be able to retrieve that node from the given ExecutionContext. If it is attached to a transition, then the node is undefined. Instead, you can retrieve the transition with getTransition().
I'm working with jBpm 2.0 and the method ExecutionContext.getTransition() is not still present.
Can i retrieve the name of the state or of the actorId if my handler is called from a transition (in jBpm2.0)?
thanks for your help