Validations
- If a deadline handler is specified it must reference a valid Cúram business method that exists on the application's classpath.
- The workflow data object attributes specified in the input mappings must be valid. The criteria that defines a valid workflow data object attribute may be seen in Validations
- The type of the formal parameter being mapped to and the type of the workflow data object attribute being used in that input mapping must be compatible. For example, if the input mapping being created is a struct field that has a type of STRING, then the workflow data object attribute being used for that mapping must also be of type STRING.
- If the indexed item from a list workflow data object (i.e. ClaimantDependent[Context_Loop.loopCount]) is being used in an input mapping, then the associated workflow data object must be a list workflow data object and the activity containing the input mappings must be contained within a loop.
- If the Context_Parallel workflow data object is being used in an input mapping, then the activity containing the input mappings must be a Parallel activity.
- If an indexed item from the Parallel List Workflow Data Object is being used in an input mapping, then the activity containing the mapping must be a Parallel Activity (i.e. ParallelListWDO[Context_Parallel.occurrenceCount]). The workflow data object being indexed by the Context_Parallel Workflow Data Object must be the Parallel Activity List Workflow Data Object.
- The deadline duration may be specified by using a deadline duration in seconds or a workflow data object attribute mapping, but not both.
- If the deadline duration has been specified using a workflow data object attribute, the attribute must be valid and be of type INTEGER.
- If a deadline has been specified for an activity, then a deadline handler function must be specified and/or the complete activity flag must be set to true. If this is not the case the workflow would not do anything when the deadline is reached.
- If the duration expired value of the deadline output mappings has been mapped to a workflow data object attribute, then the attribute must be valid and of type BOOLEAN.
- If the deadline expiry time value of the deadline output mappings has been mapped to a workflow data object attribute, then the attribute must be valid and of type DATETIME.
- The complete activity flag cannot be set to true if the activity containing the deadline is a parallel activity. This is due to the fact that parallel activities do not support modeled deadlines.