To Validate a Process Definition
2. The following list is an example of some of the validation that the Verify command performs:
- Checks that a process has at least one Start and one End activity.
- Verifies that a process does not contain itself as a process activity.
- Validates that all possible activity results are modelled as outgoing transitions. If an activity completes with a result that is not associated with an outgoing transition, and a <Default> transition doesn't exist for that activity, the activity enters an 'ERROR' state.
- Validates that activity nodes marked as END nodes do not have any outgoing transitions.
- Validates that a notification activity's result type matches the lookup type defined for the message's 'RESULT' message attribute.
Attention: You should always validate any new process definition you create as it helps you to identify any potential problems with the definition that might prevent it from executing successfully.
See Also