Enabling workflows

Activate a workflow within the specified project.

Procedure

  1. In a REST client platform, add the authentication details of the tenant that is associated with the workflow that you want to enable.
    
    //In case of Instance API key 
    Headers:
    {
    "x-instance-api-key": "instance_api_key"
    }
     
    // In case of MCSP or ISV token
    Headers:
    {
    "Authorization": "mcsp_or_isv_token"
    }
  2. Make a PUT request at the URL of the workflow.
    URL Syntax - <domain>/apis/v1/rest/projects/<project_name>/workflows/<workflow_name>/activate
    If the request is successful, you receive the response code for success.
    {
         "name": "<workflow_name>",
         "uid": "<workflow_uid>",
         "active": true
    }