Change a Process Instance Variable

To change a process data variable for a specified process instance, do the procedure in this topic.

Update Process Instance Variable Screen



How to Start

  1. On the Organizer, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library, open the Utilities tab.
      2. On the Human Tasks (External Forms) tab, drag one of these activities onto your process
        • Dynamic Task Pool (External Forms)
        • Sequential Tasks (External Forms)
        • Advanced Task (External Forms)
        • Web Form Task (External Forms)
        • Load Balancing Task (External Forms)
        • Parallel Tasks (External Forms)
        • Voting Task (External Forms)
    • Change a human task activity:
      1. In your process, double-click a human task activity.
  3. On the Update Process Instance Variable screen, click Update Process Instance Variable.

Procedure

  1. On the Update Process Instance Variable screen, in the Process Instance Variable field, enter the name of the variable to change when an event occurs.
  2. In the Value field, enter the target value for your variable.
  3. In the When to Update field, select the type of event that causes the variable to be updated to the specified value.
    Field Name Definition

    When To Update

    Function:
    Specifies the event that causes the process data variable to be set to your value.
    Accepted Values:
    • Enter - The process goes into the activity.
    • Assign - A task is assigned to a participant.
    • Cancel - A task is cancelled.
    • Complete - A task is completed.
    • Leave - The process goes out of the activity.
    Default Value:
    None