UiPath Activities Guide

System.Activities.Statements.Assign

Allocates any value to a variable or argument. It can be used to increment the value of a variable in a loop (see the example in the The Do While Activity chapter), sum up the value of two or more variables and assign the result to a different variable (see the example in the Generic Value Variables chapter), assign values to an array (see the Array Variables chapter) and so on.
By default, this activity is also included in the Favorites group.

Properties

Misc

  • To - The name of the variable to be assigned a value.
  • Value - The value you want to assign to the variable.
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Common

  • DisplayName - The display name of the activity.

Important!

This activity is built by Microsoft. For more information, see their official documentation.