By the way the pragmatical solution to distinguish the Send Task Handler was to use a global Data Object and make it available to the Send Task Handler through mapping.
I don't like this workaround because it makes the process definition unnecessary complicated. The second disadvantage is that the knowledge of the notification types is placed on many places in the code.
This is my ugly notificationType Data Object:
I appreciate any hint on how to do it better...
I would also like to know if there is a better way to do it. jBPM 6.4.0.Final.