The Variables parameter in the dynamic code editor allows access to the current variables.


For example to modify the value of a variable called AccountEnabled.


/// <summary>

/// Executes the dynamic automation task.

/// </summary>

public override void Execute()

{

     BooleanVariable variable = (BooleanVariable)Variables.Items.FindByName("AccountEnabled");

     variable.Value = true;

}