This recipe will showcase how to send interactions between workflows. This is mostly used together with asynchronous workflows, which we will explain in the recipe Using asynchronous workflows in this chapter.
We need to be able to create two workflows.
We will reuse the getNow
action that we created in the recipe Waiting tasks in this chapter (see the com.packtpub.Orchestrator-Cookbook2ndEdition.helpers
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 rest of the chapter is lockedRegister for a free Packt account to unlock a world of extra content!A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.Unlock this book and the full library FREE for 7 daysGet unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think ofRenews at €14.99/month. Cancel anytime}Authors (1)
Personalised recommendations for you
Based on your interests and search pattern