Hi all,
is there a way to read number of running workflows on a VRO server?
The same number, that VRO client displays:
Best options would be a REST call...
Second best would be some internal VRO class that holds this information...
Worst case would be to iterate all the workflows' executions and check their state...
The scenario is: I want to wait for the last workflow to finish before wiping the server as a part of CI. Any other way to approach that?
Thanks!
Hi,
The REST API call to fetch the running workflows is GET https://<host>:<port>/vco/api/catalog/System/WorkflowExecution?conditions=state=running
where <host> and <port> are the IP address/FQDN and the port of your vRO server.
The response contains attribute total having as value the number of the running workflows.
-----------------------------------------
Was it helpful? Let us know by completing this short survey here.
Hi,
The REST API call to fetch the running workflows is GET https://<host>:<port>/vco/api/catalog/System/WorkflowExecution?conditions=state=running
where <host> and <port> are the IP address/FQDN and the port of your vRO server.
The response contains attribute total having as value the number of the running workflows.
-----------------------------------------
Was it helpful? Let us know by completing this short survey here.
Thanks Ilian - found API described in here https://docs.vmware.com/en/vRealize-Orchestrator/7.5/vrealize-orchestrator-75-develop-web-services-g...