Written by

Developer at University Medical Center Groningen
Question Menno Voerman · Aug 4, 2023

Looking for a functionality in a Business Process to wait for another BP/BS

Hi All,

If I remember it correctly there is a functionality in IRIS to make this possible.

I've got two incoming Business Services of files from different sources.

BS1: An Ens.StreamContainer with some info and metadata which point to a specific file. Ens.StreamContainer will be send to a BP.

BS2: The files where the metadata points to. It's in the Ens.StreamContainer

But dependent on the flow the file could be later available on BS2. So I want the BPL to wait for the file to arrive at BS2. 

Then in the BPL I want to do some merging stuff with the 2 Ens.StreamContainers

So i'm looking for a functionaliteit to wait for a specific message and then go on. Can someone point me to the correct documentation or maybe has an example?

Thanks in advance.

Product version: IRIS 2023.1
$ZV: IRIS for Windows (x86-64) 2023.1.1 (Build 380U) Fri Jul 7 2023 23:43:12 EDT [HealthConnect:5.1.0-1.m1]

Comments

Heloisa Paiva · Aug 4, 2023

If I understood you correctly, you are looking for the <sync> element

If it's not that, you can have a loop with <until> and set an expression to evaluate true once the message is available

0
Menno Voerman  Aug 8, 2023 to Heloisa Paiva

Hi Heloisa,

Thanks, wil go for the until (wait until specific time has exceeded or file has been found)

0
Menno Voerman · Aug 8, 2023

Hi Eduard,

I has indeed looking for the Deferrd Response. But I think it's not useful in this case looking at the documentation

0