Calling external workflows
As a catalog administrator, to embed an external process workflow into the current workflow, drag a Call Activity element onto the canvas. Use Call Activity elements to reuse processes in different configurations.
Before you begin
Open an existing workflow or create a new workflow, as described in Exploring the workflow designer.
To call an external workflow
- Drag the Call Activity element onto the canvas.
- Click the element, in the Called Process field, search and select an external workflow.
- (Optional) Map input parameters to the external process if any of the elements it contains require inputs.
The following illustration shows an example of a Call Activity element that triggers an imported SRD workflow:
To call an external workflow that sends a broadcast
Starting with version 22.1.04, external workflows can be used to send broadcasts to user IDs and emails.
- Define which broadcast you want to send: to user IDs or to user emails.
- Create a process for one broadcast target; see Using Broadcast API endpoints in the BMC Helix Digital Workplace REST API.
- After the process is built, create a workflow that calls an external activity by adding the Call Activity element.
- On the General tab, add input variables that duplicate the variables in the BMC Helix Innovation Studio process (
TimeToLive, and so on); see Using Broadcast API endpoints in the BMC Helix Digital Workplace REST API.
- In the Call Activity element, add input variables and their values.
- In the Call Activity element, in the Called Process field, search and select an external workflow (for example: Send broadcasts to user IDs).
- (Optional) Add a questionnaire that uses the input variables so that a broadcast sender answers questions before submitting a broadcast service; see Exploring the Question Designer.
If you create the questionnaire, you do not need to add values to input variables in the Call Activity element.
The service Broadcasts for individual users is available in the Catalog, so that end users can send such broadcasts by requesting this service. If the service is in the Complete status, the broadcast is successfully sent to users or emails.
To send broadcasts to emails, create a separate process, and follow the preceding steps.
Use caution when changing workflow processes that are embedded into other workflows using Call Activity. Changes to the external process will be reflected in all workflows where the process is called.
Where to go from here
Complete remaining aspects of the workflow, as described in Workflows for service fulfillment.