Hello!
How I can send Synchronous request ?
For example when I cannot call another process until my first business process do not finish.
ClassMethod Main() {
set sc = FirstProcess()
//Dont start until first process finishset sc = SecondProcess()
}
ClassMethod FirstProcess() {
Set sc = ##class(Ens.Director).CreateBusinessService("BusinessServiceName", .BService)
Set sc = BService.ProcessInput(BSRequest,.BSResponse)
}
ClassMethod SecondProcess() {
Set sc = ##class(Ens.Director).CreateBusinessService("BusinessServiceName", .BService)
Set sc = BService.Process

.png)
.png)
.png)

.png)

.png)

