This documentation is in maintenance status and may not reflect the latest product updates. Please see the release notes for product updates.
Calculate
The Calculate calculates a mathematical equation and stores the result in a field
or in a .
Using the Calculate action, you can:
- Create an equation for use in a database field.
- Create a variable for use in an action.
Some examples of using the Calculate action are, store a equation in a:
- List for use in a botflow.
- Variable for use in a botflow or applications.
- Database field for updating aggregate data.
Add a Calculate action to a botflow
This example provides the steps necessary to add a Calculation action to a botflow.
To add a Calculate action to a botflow:
- On the Actions list, click Data and then click Calculate from the Calculations list.
The Action Builder window for Calculate displays.
- Set the Calculate settings.
Equation: Type the equation into the Equation field.
Preview: The calculated results of the equation display.
Save to: Type the path to where the calculation will be saved, such as a list or variable.
- If needed, adjust the Run Error Task settings to fine tune how the action runs.
- If needed, adjust the Run Switch setting to create the action without running it.
- Optionally, add an action note.
- Click OK to add the Calculate action to the botflow.
Calculate Action Builder field and button descriptions
Calculate Options/Settings |
General
- Equation: Set the Calculation equation by typing the equation into the Equation field or or use the Expression Builder to build the action settings using variables or other token values.
Result
- Preview: The calculated results of the equation display in the Preview field.
- Save to: Save the Calculation equation by typing the equation into the Equation field or use the Expression Builder to build the action settings using variables or other token values.
|
Run error task |
- Click Run error task.
- Open the On Error drop-down list and select the required setting:
- Run error task: A botflow containing an error task automatically runs the error task in the event of an error. If the botflow does not contain an error task, the botflow stops in the event of an error.
- Stop on error: The botflow stops in the event of an error.
- Ignore errors: The action is skipped in the event of an error and the botflow attempts to execute the next action
- Click X to close the drop-down and save the setting.
|
Note |
(Optional) Type a Note to document
any special instructions or functionality.
|
Run Switch |
The Run Switch toggle controls how Nintex RPA runs an
action when adding or editing an action in a botflow.
- Run: To run the action automatically when you click OK, turn the toggle to Run.
- Don't Run: If you do not want to run the action automatically when you click OK, turn the toggle to Don't Run.
|
OK/Cancel |
Click OK to save the action or click Cancel to discard the action or any changes. |