Set Variable
The Set Variable action A feature that supplies the instructions in a botflow. stores a value in a specific variable.
Using the Set Variable action, you can:
- Store needed information in a variable when a script is running.
- Store variable information within a botflow A file that stores the actions and variables designed to automate tasks..
Some examples of using the Set Variable action are:
- Setting the value of a formula to evaluate data.
- Concatenating together text.
- Setting the value of a set of tokens to aggregate data.
Add a Set Variable action to a botflow
This example provides the steps necessary to add a Set Variable action to a botflow.
To add a Set Variable action to a botflow:
- On the Actions list, click Data and then click Set Variable from the Variables list.
- Set the Set Variable settings.
- Variable: Type a variable in the Variable field.
-
Value: Type a value in the Value field.
- If needed, adjust the Run Switch setting to create the action without running it.
- Optionally, add an action note.
- Click OK to add the Set Variable action to the botflow.
The Set Variable Action Builder window displays.
Field or button | Description |
---|---|
Set Variable Options/Settings | General
|
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.
|
OK/Cancel | Click OK to save the action or click Cancel to discard the action or any changes. |