I have a scenario,
WF will started thru ESS, then it updates Z table. In Ztable there is a field FLAG is updated thru external prog. then my current should continue with next steps.
for this i created Main wf and inside Sub WF. Main wf will calling by ESS, then it needs to wait for sub wf to be executed.
But it is not happening in my case. All steps are completed irrespective of agent. How to do this?
is there is any other method to follow to stop the wf in the middile?