Set Variables

Use the Set Variables activity to update variable in a single activity. This activity will update each defined variable in the activity, one by one, as well as perform the necessary auditing for each updated variable.

  1. In the Workflow Editor Toolbox, choose Core Activities > Set Variables, then drag and drop the activity onto the Workflow pane.

  2. On the Workflow Properties pane, enter the following information:

    1. Under General, specify the following information:

      1. Display Name: Enter the unique display name for the activity.

      2. Description: Enter the brief description about the activity.

      3. Check the Continue Workflow Execution on Failure check box to continue the workflow execution on failure of the activity.

    2. Under Variable, click +ADD to enter the following information:

      1. Variable to update: Enter the appropriate variable to be modified or click Variable Reference icon to choose any variable.

      2. New value: Enter a new value of the variable or click Variable Reference icon to choose any variable.

        1. For a Boolean variable, the text entered in this field (true or false) is case-sensitive and must be entered all lowercase.

        2. Formulas can also be included to modify variable values. For example:

          • 5+10

          • [Activity.Reference1] / [Activity.Reference2] * 100) + [Activity.Reference3]

          • [Activity.PropertyName1] [Activity.PropertyName2]

Back to: Core Activities

  • No labels
© 2017-2019 Cisco Systems, Inc. All rights reserved