populate a field on a window for an automatic action
set a value in a condition
To use a calculation to populate a field in an automatic action:
In Process Designer, open the required process.
Select the required automatic action, then in the Properties grid, click Action Instance Data. The window for the action appears.
Right-click the field that you want to add the calculation to, then click Calculation. The Edit Formula dialog appears.
When you display the Edit Formula dialog in Process Designer, it does not include the Dependencies list because the calculation does not need to look for changes in dependent attributes: it will run when required by the process, and take the current values of any attributes it needs.
Enter the required calculation in the Editor field, then click OK. The calculation appears in the field on the window.
You cannot edit the formula in the process window - you need to right-click the field, then click Calculation to redisplay the Edit Formula dialog. If you add a calculation to a single-line field, the ends of lines in your calculation appear as squares.
Click OK on the process window, then save the changes to your process.
To use a calculation in a condition:
In Process Designer, expand the Business Objects tree.
Expand the required Process Object folder, for example, Incident, and then click the Condition folder.
In the Actions list, click New. The Properties grid for the new condition appears.
Type a title for the condition, then alongside Condition Type, select Calculation.
Alongside Calculation Formula, click . The Edit Formula dialog appears.
Enter the required calculation in the Editor field, then click OK.
Select the required Comparison and a specific or runtime value to compare against the calculation, then click . The Condition is saved, and can be used in a process.