Add a variable to a workflow

You can insert a Workflow Variable, Reference A workflow reference which is used to construct content containing information specific to the list or library item and to the current instance of the workflow. or a Context Variable into the configuration fields of workflow actions A tool for building the processes, logic, and direction within workflows..

Each field that accepts variables accepts one or more methods for inserting variables. The method available differs depending on the field.

Available methods are given below:

  • Click on the field and select an existing variable from the drop-down list for the field.

  • Click on the field, click Create New Variable, and fill the following fields in the Workflow Variable pane that appears:
    1. For Name, type the variable name you want to use.
    2. Select the Show on start form check box if you want to display the variable on the start form.
    3. Click Create.
  • Click on the field, select Workflow Variables or Workflow Context, and select a variable from the corresponding drop-down list.
  • Click Advanced Lookup, select Workflow Variables or Workflow Context from the drop-down list that appears, and then select a variable from the corresponding drop down and click Insert.
  • Click on the field that accept references and from the Insert Reference pane that appears on the right, double-click on a reference to select.
  • Note: Available sections and lookup values depend on the options available for the workflow action.