This documentation supports the 19.02 version of BMC Digital Workplace Advanced.

To view an earlier version, select the version from the Product Version menu.

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 to use it in other activities in a workflow.

If you need to capture an output expression from one activity and pass it to other activities in a workflow, BMC recommends 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, BMC recommends that you configure a local variable, map it to an output expression of an activity, and use it throughout a workflow as required.  

Was this page helpful? Yes No Submitting... Thank you

Comments