VMware Cloud Community
BenNeise
Contributor
Contributor
Jump to solution

Is it possible to get the number of running workflows on an Orchestrator server/cluster via REST?

Is it possible to get the number of currently running workflows on an Orchestrator server/cluster via REST? Ideally without checking the status of all the executions for each workflow!

We're running 5.5.2, but I'd be interested to know if it's a feature available in newer versions too.

0 Kudos
1 Solution

Accepted Solutions
iiliev
VMware Employee
VMware Employee
Jump to solution

Hi,

The following REST endpoint will return all executions whose state is 'running'. In the returned body, the top level element has an attribute 'total' with the number of returned items.

https://vcohost:8281/vco/api/catalog/System/WorkflowExecution?conditions=state=running

View solution in original post

0 Kudos
2 Replies
iiliev
VMware Employee
VMware Employee
Jump to solution

Hi,

The following REST endpoint will return all executions whose state is 'running'. In the returned body, the top level element has an attribute 'total' with the number of returned items.

https://vcohost:8281/vco/api/catalog/System/WorkflowExecution?conditions=state=running

0 Kudos
BenNeise
Contributor
Contributor
Jump to solution

That's perfect Illian, thanks very much.

0 Kudos