Here is my requirement.
I need to first check if any flow service is running on a particular IS(I have a flow service written for this which returns a true or false flag). Before I stop the IS using a perl script, I need to check if any of the flow services are running on the IS. What is the best approach to achieve this ?
Writing a webMethods service which branches on the flag I generate(for is Service running) and stopping the IS using the fireCommandExec to execute the perl script
Include a curl command in the script itself which will fetch the flag(for is Service Running) and based on the it will stop the IS