This recipe will showcase how to send interactions between workflows. This is mostly used together with asynchronous workflows, which we will explain in the Using asynchronous workflows recipe in this chapter.
We need to be able to create two workflows.
We will reuse the action getNow that we created in the Waiting tasks recipe in this chapter (see the com.packtpub.Orchestrator-Cookbook
module in the example pack).
This recipe requires us to create two workflows and then use them together.
First, we create the receiving part:
Create a new workflow using the setup shown in the following figure:
Create the following variables:
Name
Type
Section
Use
isExternalEvent
Number
Attribute
Value: false
This is a setting to indicate where Orchestrator has to listen to for the Event.
eventName
String
IN
This is a string that contains the event identifier.
endDate
Date
IN
The date/time until Orchestrator...