You can check the state of the currently available tasks or check the state for all execution instancess of a certain task.

Verify that you have imported the sample workflows package in Orchestrator. The package is included in the Orchestrator sample applications ZIP file that you can download from the Orchestrator documentation page.

To check the status of all currently available tasks, make a GET request at the URL of the Task service:

GET https://{vcoHost}:{port}/api/tasks/

The response body contains the definitions of the currently available tasks in Orchestrator. The state of every task is available in an attribute element, whose name is state. Respectively, the value for the element can be finished, pending, running and so on.

To check the status of all executions of a certain task, make a GET request at the URL where the task executions reside:

GET https://{vcoHost}:{port}/api/tasks/{taskID}/executions/

You receive a list of the available executions for the task in the response body. The state of every execution is available in the state element of the task execution object.