Configuring Outbound Communication
After completing this lesson, you will be able to:After completing this lesson, you will be able to:
- Write SOAP message into CI data store and call a second iFlow from the main iFlow
Configure Outbound Communication: Exercise Overview
Scenario
Your SOAP message is now ready to be delivered to its final recipients. eCarHero is looking to deliver the order message by depositing it in a special Slack channel. Additionally, the PO message data should be stored for 30 days after creation. The message should be delivered to both recipients independently from each other.
Task Flow
in this exercise, you will perform the following steps:
- 29 A: Call a second iFlow.
- 29 B: Persist your message.
Prerequisites
You have a running PurchaseOrder process with B2B mapping.
Configure Outbound Communication
Task 1: Call a Second iFlow
Steps
Call a Second iFlow.
From the Routing options in the top menu bar, choose Multicast → Parallel Multicast to connect the process step to its predecessor.
To create your first execution branch, navigate to Persistence → Data Store Operations → Write.
Position the element following the Multicast. Connect both. You will see an indication of the branch ("Branch 1") through the applied connector.
Set the name of the Write step as Write SOAP Message into Data Store.
Switch to Processing. Enter SOAPPurchaseOrder as the name and PurchaseOrder_4500000011as Entry ID. Select Encrypt Stored Message, Overwrite Existing Message, and Include Message Headers.
Add an End Message event via Events.
Connect it with the first branch.
You might notice. that at the top far left of the Integration Process pool box, an error indicator displays. Hovering over this will give you more information about what needs to be done. Highlight the Integration Process pool box to access its configuration menu. Move to the Processing tab and set the Transaction Handling to Not Required.
NoteIt may happen, that this error displays, when you have performed step 1e of the next task.
Task 2: Persist Your Message
Steps
Persist your Message.
To create a second branch, choose Call → External Call → Request Reply.
Connect this process step with the Multicast and End Message. Set the Name in the configuration view as Run additional iflow.
Add an additional Receiver via the Participant menu.
Connect the Receiver and run additional iFlow process steps via the ProcessDirect adapter. You will continue to edit this second branch in the upcoming lesson.
Choose Save to secure your progress.
NoteIt may happen, that an error displays. See the explanation at step 1h of the first task.
NoteInstead of integrating another iFlow -as this was done here for demonstration purposes- it is also possible to configure the process steps directly in the main iFlow branch.
Navigate back to your main iFlow and access the editor.
Highlight the ProcessDirect connector to access the configuration view (if not already the case, it is expandable via the bottom right of the screen). Choose the Connection tab. Choose Edit on the top right of the screen.
You will now enter the path to your Slack notification iFlow. As this iFlow does not exist yet, it does not have a name or path yet. You will choose a name for the iFlow now that will be used later – thus, you are creating the future path of the iFlow once it is actually configured. If you are following the naming conventions of the examples, the correct path will be /PO_scenario/PO_Slack
, otherwise /your_package_name/your_iflow_name
.
Choose Save to secure your progress.
Summary of the Lesson: Configuring Outbound Communication and Further Resources
Save progress to your learning plan by logging in or creating an account
Login or Register