Input mappings for base type parameters

Base type parameters provide the simplest type of input mapping. In this instance, input mappings are created for each base type formal parameter contained in the business method associated with the automatic activity. A base type parameter in a Cúram business method represents a domain definition (see the Cúram Modeling Reference Guide for details on domain definitions).

<automatic-activity id="1" category="AC1">
    ...

    <bpo-mapping
      interface-name="curam.sample.facade.intf.SampleBenefit"
      method-name="createDelivery">
      <formal-parameters>
        <formal-parameter index="0">
          <base-type type="STRING">
            <wdo-attribute wdo-name="SPProductDeliveryPI"
                           name="description"/>
          </base-type>
        </formal-parameter>
        <formal-parameter index="1">
          <base-type type="INT64">
            <wdo-attribute wdo-name="SPProductDeliveryPI"
                           name="plannedItemID"/>
          </base-type>
        </formal-parameter>
      </formal-parameters>
    </bpo-mapping>
  </automatic-activity>
base-type
This contains the details of one base type input mapping. A base type mapping indicates that the field being mapped to is primitive (unlike the struct and nested struct mappings described below). A base type input mapping contains the following mandatory attribute:
type
This describes the type of the primitive field being mapped to. For a base type input mapping, this is the type of the domain definition specified as the formal parameter in the method.
wdo-attribute
This contains the details of the workflow data object (see Workflow Data Objects) attribute containing the data that will be used to populate the associated base type parameter when the automatic activity business method is invoked. The mandatory attributes are described below:
wdo-name
This describes the name of the workflow data object used in the input mapping.
name
This describes the name of the attribute on the specified workflow data object used in the input mapping.