Assign Token Values

Assign Token Values activity

This activity creates new tokens and update the values of existing tokens.

Example: For an upcoming meeting, you want to know how many people added their signature to a multi-value Approver field on the agenda. You use the Assign Token Values activity to create a custom token, Signature Count, with a value of zero. You then add a For Each Value activity that goes over each signature in the Approver field. Inside the For Each Value activity, you place a Token Calculator activity configured to add 1 to the Signature Count token for each value found in the Approver field. Also inside the For Each Value activity is an Assign Token Values activity that updates the Signature Count token with the value of the Token Calculator token. The resulting Signature Count token tells you how many people signed the agenda.

To create a new token:

  1. Drag the activity from the toolbox pane and drop it in the Designer pane.
  2. In the properties pane, type a name and description of the activity.
    The name and description editors
  3. In the Tokens property box, click Create....
  4. Next to Token name, type a unique name for the token.
  5. Optional: Select Allow token to have multiple values to make the token a multi-value token.
  6. Under Value, type a token value. Click the Token button (right arrow) to add a token.
  7. Expand the Token Tags section and select the categories relevant to your new token. Learn more about token tags
  8. Click OK.

To update an existing token:

  1. Drag the activity from the toolbox pane and drop it in the Designer pane.
  2. In the properties pane, type a name and description of the activity.
    The name and description editors
  3. In the Tokens property box, click Modify....
  4. Next to Activity, select from where you want to get the token.
  5. Next to Token, select the existing token.
  6. Under New value, type a new value for the token. Click the Token button (right arrow) to add a token.
  7. Click OK.

To modify a token after creating or modifying it, click the Edit button . To delete a created or modified token, click the Delete button .

You may want to disable activities if you only want to test specific sections of your workflow. To disable activities:

  1. Select an activity in the designer pane to highlight it.
  2. In the Description property box, clear Enable.