Deleting a Function from a Mapping Rule
About this task
To delete a function used in a mapping rule in the Mapping Editor:
Procedure
- Display the mapping link with the functions visible. If
the mapping link with function or functions has functions associated
with it but the functions are not displayed (as shown here:
), right-click the mapping rule and from the list and select Edit Function Graph. The functions associated with the mapping rule are displayed.
- Choose one of the following options:
- Select the function to delete and press the Delete key.
- Right-click the function and select Delete Function in the list.
Depending on your mapping rule, links between source nodes, other functions, or the destination node might be deleted.
- Repair any missing links in the mapping rule.
- Optional: If any functions are still associated
with the mapping rule, test if the mapping rule is valid by right-clicking
on the function in the mapping rule and selecting Apply
Function Graph. If the mapping rule is valid, the
square function icon or icons in the graphical representation of the
mapping link are not displayed and a blue bar with small squares at
each end displays (
). If the mapping rule is not valid, the graphical representation of the mapping rule does not change, the function icons are still visible, (
) and an error dialog opens
Note: A mapping rule with function or functions is considered valid if all the input parameters of the function or functions are assigned with values of the correct datatype and if the return value of the last function matches the datatype of the destination node. The input parameters of a function can be provided by source nodes or by the return type of other functions associated with that mapping rule.
Parent topic: Using Custom Functions and Lookup Tables