Hello,
First of all: thanks for your help, and thank you for your time.
Thanks for your time.
We have the following situation:
We are in a BPL, and we have defined 4 <call> asynchronous as follows:
First one name: "Enviar a Proceso NEGRIN"
.png)
.png)
The second one, named as: "Enviar a Proceso HUNSC"
.png)
.png)
The third one, titled: "Enviar a Proceso CHUIMI 02"
.png)
.png)
And the fourth and last one names as: "Enviar a Proceso Fuertev"
.png)
.png)
Inmediately after the 4 calls, we have a <sync> instruction which should wait for all of them to finish.
.png)
It has in the calls text area the name of the four ones which it should wait for: "Enviar a Proceso NEGRIN,Enviar a Proceso HUNSC,Enviar a Proceso CHUIMI 02,Enviar a Proceso Fuertev"
.png)
If we zoom out the BPL, we see it spots in green the 4 previous calls:
.png)
However, when we test it, we see in the Visual Trace the following behaviour:
.png)
We would like that the Process would wait for [12], [15], [17] and [19]... but it does not wait... it just get the first <call> response as seen in [12] and it executes the following <code> block which obviously fails...
Finally, we have the following doubt:
How could we say to the BPL to wait always for the 4 <call> response before executing the next <code> block?
We have read the following documentation to solve it by ourselves:
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
https://es.community.intersystems.com/post/call-as%C3%ADncronicas-din%C3...