Acts as a shortcut for specifying when events SHALL be thrown from an Activity instance that is about to complete. It can assume values of None, One, All, and Complex, resulting in the following behavior:
- None: the EventDefinition which is associated through the noneEvent association will be thrown for each instance completing;
- One: the EventDefinition referenced through the oneEvent association will be thrown upon the first instance completing;
- All: no Event is ever thrown; a token is produced after completion of all instances
- Complex: the complexBehaviorDefinitions are consulted to determine if and which Events to throw.
For the behaviors of none and one, a default SignalEventDefinition will be thrown which automatically carries the current runtime attributes of the MI Activity.
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
name - the name of the enum constant to be returned.