Set Variable Value Step

The Set Variable Value step lets you change a variable's value in your automation. You can update a variable with a set value or use the value from another variable.

How to Use the Set Variable Value Step

Use this step to update variables at specific points in your process.

Add the Step

  1. Open your process in the Robotiq.ai Process Editor.
  2. Drag and drop the Set Variable Value step into your workflow.

Configure the Step

  1. Click on the Set Variable Value step to open its properties.
  2. Give it a Step Name (optional) to help identify it in your process.
  3. Pick the Variable you want to update from the dropdown list. This has to be a Global Variable that already exists, has a process scope, and isn't marked as constant.
  4. Type in the Variable value. This can be a set value or another existing variable.

Parameters Explained

Step Name (Optional)

  • A custom name for this step.
  • Example: Update Counter
  • Use this to make your process easier to understand.

Variable (Required)

  • The Global Variable you want to change.
  • This variable must be set up as non-constant and have a process scope.
  • Example: myCounter
  • You need to define the variable before you can set its value.

Variable value (Required)

  • The new value for the chosen variable.
  • This can be text, a number, or the value of another variable.
  • Example: 10 or anotherVariable
  • The type of the value should match the type of the variable you are setting.

Related Articles

Need Help?

Can't find what you're looking for? Join the Robotiq Community to get help from other users and the Robotiq team.

 

Was this article helpful?