<manual-activity id="1" category="AC1">
...
<task>
...
</task>
<allocation-strategy type="curam express rule"
identifier="Sample allocation Rules">
<cer-set-mappings primary-class="sampleAllocationClass">
<cer-class-mapping>
<source-attribute wdo-name="TaskCreateDetails"
name="caseID" />
<target-attribute cer-class-name="SampleAllocationClass"
name="caseID" />
</cer-class-mapping>
<cer-class-mapping>
<source-attribute wdo-name="TaskCreateDetails"
name="concernRoleID" />
<target-attribute cer-class-name="SampleAllocationClass"
name="concernRoleID" />
</cer-class-mapping>
</cer-set-mappings>
</allocation-strategy>
<event-wait>
...
</event-wait>
...
</manual-activity>
- cer-set-mappings
- This contains the details of all the mappings for the CER rule set specified in the allocation identifier. The primary class parameter should point to a rule class that contains the targets attribute for this allocation strategy. It is recommended that mappings are created for all specified attributes in the selected rule class.
- cer-class-mapping
- This contains the details of one mapping between a rule class attribute specified in the cer rule set and it's associated workflow data object attribute. The following metadata constitute a valid mapping:
- source-attribute
- This contains the details of the source attribute in the mapping (i.e. where the data will be provided from at runtime). A source attribute consists of a workflow data object name and it's associated attribute name (see Workflow Data Objects).
- target-attribute
- This contains the details of the target attribute in the mapping (i.e. where the data will be mapped into at runtime). A target attribute consists of a CER class name and it's associated attribute name.