0 votes
1.1k views
in Integration Designer by (30.6k points)

1 Answer

0 votes
by (30.6k points)

The delayed response pattern lets a BPD call a long-running BPEL process without blocking: the call returns at once, the BPD waits at a message event, and the BPEL process delivers its result later as an event (see question 1025 for the walkthrough). In one picture:

BPD (BPMN)                                   BPEL (IID module)
[Start] -> [Prepare] -> (AIS "Settle claim", async) ----------> receive(claimRequest)
             |                                                     invoke payment system
             v                                                     wait for bank confirmation (hours)
     ( intermediate message event "Settlement done"  ) <---------- reply / send event {claimId, status, amount}
             |  timer boundary 48h -> [Escalate to supervisor]
             v
       [Continue with result]

Elements: an asynchronous Advanced Integration Service (one-way request), a correlation key (claim id) shared by both sides, an intermediate message event (or a UCA-fed event) that carries the response into the BPD variables, and a timer boundary for the "no answer" case. The pattern is the BPMN counterpart of BPEL's own asynchronous request / callback (WS-Addressing reply-to). It applies unchanged to any long-running system, not only BPEL - REST call + UCA event, MQ request / reply queues, App Connect flows.

References

Related questions

0 votes
1 answer 717 views
0 votes
2 answers 2.4k views
0 votes
1 answer 1.4k views
0 votes
1 answer 692 views
0 votes
1 answer 874 views
0 votes
1 answer 859 views
0 votes
1 answer 1.9k views
+1 vote
1 answer 2.3k views
0 votes
1 answer 821 views
0 votes
1 answer 1.5k views
0 votes
1 answer 677 views
asked Mar 30, 2020 in BPD by Anil Singh (30.6k points)

723 questions

807 answers

98 comments

4.9k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...