PROforma Expressions: Expression Editor
The Expression Editor is accessible from every field in the task properties window that contains an expression (e.g., State Trigger, Precondition, Cycle Until). To display it, click on the ellipsis (…) button to the right of the field.
The figure below is a screen capture of the Expression Editor:
Expressions are typed in the Condition field.
You can add functions to the Condition field by double-clicking the function buttons. Function buttons have two modes:
- Operators – double-clicking a button inserts a function into the Condition field
- Templates – double-clicking a button inserts a template of the function into the Condition field. The template includes both function and placeholders for parameters and values.
The placeholders and what they stand for:
- X Expression
- T Task
- D Decision
- C Candidate
- S Set
You can add data items or data item values to the Condition field by double-clicking a selected item. The Range Values list displays the values of the selected data item.
You can add decisions or candidates to the Condition field by double-clicking a selected item. The Candidates list displays the candidates of the selected decision.