We are running workflow (A) from a perl script. This script is first running workflow A and then after checking the status of workflow it carries on.What we want is that the script should wait for the workflow A to finish and then go ahead.One method to do this is to continuously (while loop) check the status of workflow A. When workflow A is finished then get out of loop and do rest of its job.Is there any other way to do the same?
Thanks for the suggestion .But we cannot split script into two.