Create a Task

You can create a task for scheduling a workflow by using the vRealize Orchestrator REST API.

Procedure

  1. Retrieve the definition of the workflow for which you want to create a task by making a GET request at the URL of the workflow:
    GET https://{orchestrator_fqdn}/vco/api/workflows/{workflowID}/
    In the workflow definition you can view the name and the ID of the workflow and its input parameters.
  2. To create a new task for the workflow, make a POST request at the URL of the Task service:
    POST https://{orchestrator_fqdn}/vco/api/tasks/
  3. In the request body, provide the parameters for the new task in a task element.

Results

If the request is successful, the API responds with status code 202 and an empty response body.