Inserting functions into component rules
About this task
You can use most of the functions provided with the product in component rules.
Component rules shown in the examples section use the functions COUNT, PRESENT, SUM, and WHEN. The function WHEN is similar to the function IF. However, WHEN evaluates to "true" or "false" and IF evaluates to a data object. WHEN is most often used in a component rule.
To insert a function into a component rule:
Procedure
- In the type tree editor, double-click the type.
The Component view opens. The Component view consists of an edit area and two columns: Component and Rule.
- In the Component column, select the component to which you want to add a function.
- Press Ctrl+Space bar to open the list of functions.
- From the list of functions, double-click on the function you want to insert.