In UiPath, the assign activity is mostly used to assign values to variables. When we wish to alter the value of a variable, we usually use this action. This activity also comes in handy when we need to add a loop to our project. For instance, in the loop, incrementing the value of a variable. By default, the activity is included in the Favorites group. Using the 'Right-click' and then 'Remove' options, we can easily remove it.
We have two alternatives when it comes to assigning activities :
* We can store values in the existing variable after adding the value.
* We can store values in any other array after adding the value.