Limited support

 

This version of the product is in limited support. However, the documentation is available for your convenience. You will not be able to leave comments. Click here to view the documentation for the current version.

Configuring an output map for an activity and using it in multiple activities

As a catalog administrator or internal service supplier, you might need to reference an output expression from one activity and use it in other activities in a workflow.

Best practice

To do this, we recommend that you assign a local variable to an output expression of an activity.

Before you begin

To configure an output map for an activity

  1. Open the workflow that you want to edit.
  2. Select the activity element to which you want to assign the local variable.
    In the example used in this procedure, select the Create Incident activity. 
  3. Expand the Output map parameters section, and click Add.
  4. In the Source field, enter an expression that will use output from any activity.
    For example, enter the expression for the Create Incident activity. For details about how to build an output expression, see Using responses from a connected system in your workflow.
  5. From the Name list, select the local variable that you want to associate with the output from your activity.

To pass an output expression from one activity to another activity in a workflow

After you create a local variable, you can use it in other activities in your workflow in the same way you use output variables.

Compare the following approaches for passing an output expression from one activity to another:

  • The Content parameter of the Send Email to requester notification in the example is configured to use output from the Create Incident activity.
  • The Content parameter of the Send Email to OBO user notification in the example is configured to use a local variable from the Create Incident activity. 

     

In both cases, the email recipients will receive notifications with the same text. However, since you are expecting the same expression in both activities, you should configure a local variable, map it to an output expression of an activity, and use it throughout a workflow as required.  

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments