Metadata

<enactment-mappings>
    <mapping>
      <source-attribute 
          struct-name="curam.core.sl.struct.TaskCreateDetails" 
          name="subject" />
      <target-attribute 
          wdo-name="TaskCreateDetails" 
          name="subject" />
    </mapping>
    <mapping>
      <source-attribute 
          struct-name="curam.core.sl.struct.GroupMemberDetails" 
          name="dtls.memberName" />
      <target-attribute 
          wdo-name="MemberCreateDetails" 
          name="memberName" />
    </mapping>
    <mapping>
      <source-attribute 
          struct-name="curam.core.sl.struct.ChildDetailsList" 
          name="dtls.identifier" />
      <target-attribute 
          wdo-name="ChildDetails" 
          name="identifier" />
    </mapping>    
    
    ...

  </enactment-mappings>
enactment-mappings
Contains a list of mappings that can be used as initial data in enacting the associated process instance. A process definition is not required to have enactment mappings defined in order for it to be enacted.
mapping
A mapping represents a data item supplied from a Cúram struct attribute to be used in enacting the associated process instance.
source-attribute
This represents a Cúram struct attribute to be used in populating the enactment data for the process and is mandatory in an enactment mapping.
struct-name
The name of a Cúram struct that contains an attribute required to enact the workflow process. Aggregated and list structs may also be used to pass enactment data into a workflow process, as illustrated in the metadata snippet above.
name
The name of the attribute of a Cúram struct required to enact the associated workflow process. Where a field from an aggregated struct or list struct is being used, this name represents the fully qualified name of that field. In such a case, the name consists of the role name from the association between the parent and child struct in addition to the actual field name. This is illustrated in the metadata snippet above.
target-attribute
This represents a workflow data object attribute which is to be populated with enactment data for the process and is mandatory in an enactment mapping.
wdo-name
The name of a Cúram workflow data object containing the target attribute to be mapped. (See Workflow Data Objects).
name
The name of a Cúram workflow data object attribute that is marked as being required for enactment. The value of the corresponding Cúram struct source attribute will be mapped to this attribute when the process is enacted.