Adding Multiple Coercions
To add a single coercion to an element, follow these steps.
- Procedure
- From the Data Source tab, select the element type of an element, right-click on the element and select Add/Edit Coercion....
- In the Coercion window, click the
icon to add a coercion.
- Accept the default option for the Component Type field.
- 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.
- Click the
Type field, to select an element type.
Note: Ensure that the Type you select is an extension of the base type.
- Optional. Select the
Cardinality checkbox, 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.
- Click OK.
ResultIn the
Data Source tab, the coerced element displays two types. Either type can be mapped to an element in the Activity Input panel.