You can import a workflow by using the Orchestrator REST API.

Depending on the library of your REST client application, you can use custom code that defines the properties of the workflow.

Note: You cannot import the input form presentation of workflows created in the HTML5-based vRealize Orchestrator Client by using the REST API. To import the workflow presentation, use the package feature of the vRealize Orchestrator Client.

Prerequisites

The workflow binary content should be available as multi-part content. For details, see RFC 2387.

Procedure

  1. In a REST client application, add request headers to define the properties of the workflow that you want to import.
  2. Make a POST request at the URL of the workflow objects:
    POST http://{orchestrator_host}:{port}/vco/api/workflows/

Results

If the POST request is successful, you receive the status code 202.