Adding a Logic Extension (Release 9.2.7.3)
Starting with Tools Release 9.2.7.3, you can create logic extensions that call other logic extensions.
You can create a logic extension as a reusable component and add it in other logic extensions as a child component. This enables reusability of a logic extension.
To add a logic extension:
- On the design page, hover over the location where you want to add the logic extension and then click the + icon. Select Logic Extension from the Action menu.
- In the Logic Extension panel, edit the label and enter a description.
- In the Logic Extension Name field, click the Search icon and then search for
and select the required logic extension. A list of parameters is displayed in the
Parameter Mapping section. The system displays the red "i" icon next to the required
parameters.Note: The name of the selected logic extension is read-only. The system displays the name of the selected logic extension in the Description field if the field is left empty. You can override the description.
- Click the "?" icon or click the Edit icon. The system displays the Logic Extension
Parameter Mapping window. Note: The system displays the red "i" icon next to the required parameters.
The Logic Extension Parameter Mapping window contains two panels:
- Logic Extension Parameter Panel (left panel): Displays a table with the ID,
Name, Required, IO (not for the array type parameter), and Mapping
fields.
You can click the drop-down list icon next to the Name field and select the Add to Data Structure or Add to Variables or Add to Array option as required. You can select the Clear Mapping (Eraser) option from the drop-down list to delete the mapping in the row. You can also click the Eraser icon at the end of the row to delete the mappings.
- Object Selector Panel (right panel): Filter and select the value for the Mapping field using this panel. You can click the Close and Open icons to hide or view this panel.
- Logic Extension Parameter Panel (left panel): Displays a table with the ID,
Name, Required, IO (not for the array type parameter), and Mapping
fields.
- In the Logic Extension Parameter Mapping window, map the parameters. For the Input
Only parameters, you can map data structures, variables, literals, or system
literals. For the Output Only parameters, you can map data structures or
variables.
For an array object row, the Name field is displayed in grey. Data Dictionary and IO type fields are empty. The Mapping field displays the mapping depending on the children's array column mapping.
For the array column row, an array icon is displayed to indicate this is an array column.
Note: All the columns of an array parameter can only be mapped to the columns of another array. You cannot map an array parameter to the columns of multiple arrays simultaneously. - Click the Close button.
Your mappings are displayed in the Logic Extension panel.
- Click Save.