Validations
- An allocation strategy must be defined for a manual task.
- If the allocation strategy is of type function, the function specified must be a valid and must exist on the Cúram application classpath.
- If the allocation strategy is of type function, the return type of the function must be curam.util.workflow.struct.AllocationTargetList.
- If the allocation strategy is of type function, any of the input parameters of the specified function that are mapped must be to valid workflow data object attributes and the type of the workflow data object attribute must match the type of the input parameter field.
- If the allocation strategy is of type function and an indexed item from a list workflow data object is used in an input mapping, then the workflow data object must be a list workflow data object and the activity containing the mapping must be contained within a loop.
- If the allocation strategy is of type rule, the specified ruleset must be valid.
- If the allocation strategy is of type rule, all of the source attributes specified in the mappings must be valid workflow data object attributes in the context of the containing workflow process definition. All of the target attributes must be valid rules data object attributes in the context of the specified ruleset. The type of the workflow data object attribute specified as the source attribute must match the type of the rules data object attribute specified as the target attribute in the mapping.
- No duplicate target attribute mappings are allowed. In other words, a rules data object attribute can only be specified once in any list of ruleset mappings.
- If an indexed item from a list workflow data object (i.e. PersonDetailsList[Context_Loop.loopCount]) is used in the function or rule allocation strategy mappings, then the workflow data object must be a list workflow data object and the activity containing the mapping must be contained within a loop.
- If the Context_Parallel workflow data object is used in the function or rule allocation strategy mappings, then the activity containing the mapping must be a Parallel activity.
- If an indexed item from the Parallel List Workflow Data Object is used in the function or rule allocation strategy mappings, 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.