It appears that in this release, the only task that can be created with a custom ActivityBehavior is the serviceTask. How would we go about creating custom EventActivityBehaviors (for example a custom wait state which waits for specific event data)? I've tried creating a custom ActivityBehavior that implements EventActivityBehavior and having it back a serviceTask, but this generates a class cast exception upon the sending of the event because the ServiceInvocationActivityBehaviour class that is instantiated does not implement EventActivityBehaviour.
Please advise.
Thank you!
-Ryan