Assign Variable

The activity assigns new value specified by user to an existing variable. In the left part (L-value) of the box put the variable, in the right part (R-value) should be value to be assigned to the variable (another variable or VB expression). Remember that new value should match the type of the variable to change.

There will be no error if the variable receives the value you already have.

Parameter nameParameter TypeIn/OutDescription
DisplayNameLiteralInputyou can change the name of activity for greater clarity of the scenario
ValueContext basedInputnew value of the variable
ToContext basedOutputvariable that stores the result of assignment