Calling external workflows
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 (startTime, endTime, 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.
8. Save the workflow, associate it with a service (for example, Broadcasts for individual users), and publish this service.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.
Where to go from here
Complete remaining aspects of the workflow, as described in Workflows-for-service-fulfillment.