This documentation supports the 3.5 version of BMC Digital Workplace. To view the latest version, select the version from the Product version menu.

Waiting for a response

You can design a BMC Digital Workplace Catalog workflow to wait for a response to an activity sent to an external system that is configured to send a response. This topic describes how to create the workflow to wait for a response to an activity that creates a work order in BMC Service Request Management.

Before you begin

To suspend a process with the Receive Task element 

In the following image, a Receive Task element is inserted after an action that creates a work order in BMC Service Request Management.

The  Receive Task element suspends the workflow until the the external system sends a response back to BMC Digital Workplace Catalog. The Receive Task  element waits for the response in the form of a Signal Parameter.

The external system must be configured to return a message packaged in the same name as the Signal Parameter expected by the Receive Task.

Relating external system responses to service requests

The Process Correlation ID is a text string passed through a parameter that BMC Digital Workplace Catalog uses to associate transactions in an external system, like BMC Remedy IT Service Management, with its originating service request. When the variable is included in an action that supports it, for example, Create Remedy Work Order, BMC Digital Workplace Catalog creates a record using the form SB:ServiceRequestStub in the external system.

The external system can be configured to send a response back through the associated SB:ServiceRequestStub record can be used to send a message back to the BMC Digital Workplace Catalog workflow, and release the Receive Task.

To set up a timer with a Receive Task 

Timer element interrupts a Receive Task and lets the process make a decision about how to proceed after the wait step times out. This element can be used only with the Receive Task elements.

Perform the following steps to add a timer to a process containing a Receive Task:

  1. Log in to BMC Digital Workplace Catalog as a catalog administrator.
  2. In the application, click Workflows tab.
  3. Click the process name where you want to add events.
    The system opens workflow designer and displays the process diagram on the canvas.
  4. To add Timer event in the process, perform the following steps:
    1. On the canvas, drag and drop Timer event to the Receive Task element as per the process requirements.
    2. In the Properties pane, enter the timer description, select the Timer Type
      The Time Type describes the time within which a task must be completed before the system ends a task.
      • Interval Timer: Time specified in months, weeks, days, hours, and minutes. 
        If you select Interval Timer, provide the Interval Definition value.
      • Time Expression: Time specified as a time value expression.
        You can use any of the following values in the expression:
        • Current time: Specifies that the event should be triggered at a future time. 
        • Current time and an integer: Specifies that the event should be triggered after specific time (in seconds) from the current time. For example, when you specify Current Time + 1000, the event will be triggered after 1000 seconds from now.
        • Current date: Specifies that the event should be triggered at a specific date. For example, if you schedule the timer to 30 March, the event will be triggered on 30 March at 00:00:00 hours.
        • Current date and an integer: Specifies that the event should be triggered on a specific date in the future. For example, if you schedule Current date + 2, the event will be triggered after 2 days from the current date. 
  5. Save the process.

The following process shows how the Timer Event can be embedded in a process containing a Receive Task:

In this example, the process starts with a Create Change Request (Remedy connector) action, and then the system waits for a signal about reaching some condition in the external system. The wait activity is represented by the Receive Task action. If a signal is not passed to the Receive Task within the time specified in the Timer event, an In App notification is sent to the BMC Digital Workplace System Dashboard.  The process continues until the signal about reaching the specified condition is received.

The notification in this example is sent as many times as the time interval rounds are passed. 

Where to go from here

Complete remaining aspects of the workflow, as described in Workflows for service fulfillment.

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

Comments