Adding Multiple Coercions

To add a single coercion to an element, follow these steps.

Procedure

  1. From the Data Source tab, select the element type of an element, right-click on the element and select Add/Edit Coercion....
  2. In the Coercion window, click the icon to add a coercion.
  3. Accept the default option for the Component Type field.
  4. Select a schema for the Namespace field by choosing an option from the drop-down menu, or click the browse icon to view a list of available schemas in the application module.
  5. Click the Type field, to select an element type.
    Note: Ensure that the Type you select is an extension of the base type.
  6. Optional. Select the Cardinality check box, and choose one of the following options from the drop-down menu:
    • Optional (?): Selecting this option sets the cardinality to zero to 1.
    • Exactly one: Selecting this option sets the cardinality to 1.
    • Repeating (*): Selecting this option sets the cardinality to 0 to infinity.
    • At least one (+): Selecting this option sets the cardinality to 1 to infinity.
  7. Click OK.

Result

In the Data Source tab, the coerced element displays two types. Either type can be mapped to an element in the Activity Input panel.