Calculate
The Calculate action An instruction within a botflow. calculates a mathematical equation and stores the result in a field or variable A spot to store a piece of information. in a botflow Automated steps that you can design for each bot that will run.. Using the Calculate action, you can:
- Create and store an equation for use in a database field for updating aggregate data.
- Create and store a variable for use in a botflow or application.
- Store an equation in a list for use in a botflow.
- On the Actions list, click Data and then click Calculate from the Calculations list.
- Set up the Calculate settings.Calculate Action Builder field and button descriptions
Field or button Description Calculate Options/Settings General - Equation: Set 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.
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.
Culture The Culture drop-down list contains a list of other cultures. If you need to convert fields and variables (decimals, etc.) in the calculation from one culture into another one, select the new culture from this list before saving the Calculate action. 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 Bot runs an action when adding or editing an action in a botflow.
- Run: To run the action automatically when you click OK, switch the toggle to Run.
- Don't Run: If you do not want to run the action automatically when you click OK, switch the toggle to Don't Run.
- Click OK to add the Calculate action to the botflow.