Check the State of a Task

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

Procedure

  • To check the status of all currently available tasks, make a GET request at the URL of the Task service:
    GET https://{orchestrator_fqdn}/vco/api/tasks/
    The response body contains the definitions of the currently available tasks in vRealize Orchestrator. The state of every task is available in a 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 runs of a certain task, make a GET request at the URL where the task runs reside:
    GET https://{orchestrator_fqdn}/vco/api/tasks/{taskID}/executions/
    You receive a list of the available runs for the task in the response body. The state of every runs is available in the state element of the task execution object.