A custom task allows any custom activity that you can start with a vRealize Orchestrator workflow or script. This activity can also be a manual approval.

Prerequisites

Verify that you created a workflow and tagged it with the CUSTOM keyword in the vRealize Orchestrator Workflow Designer.

Procedure

  1. Select Release Automation.
  2. Select the pipeline to configure from the Pipeline tab.
  3. Select Edit > Stages.
  4. Select Add Task.
  5. Select Add Task.
  6. Select Custom from the Category drop-down menu.
  7. Select Custom Workflow from the Provider drop-down menu.
  8. Enter a name for the custom task and click OK.
  9. Select the new task from the stage column.
  10. Confirm to save the pipeline for configuration.
  11. Select the Workflow Name from the drop-down menu.
  12. Enter the Input Parameters.

    For example, enter vsphere.local\administrators for the Task Group DN Name and enter the task details.

  13. Provide a unique name prefixed with a dollar sign ($) to bind to for the Output Parameters.
  14. Click Save.

Task Output Format for a Custom Workflow Task

The following task output format is an example for a custom workflow task.

[{
                "name": "result",
                "type": "STRING",
                "description": "Result of workflow run.",
                "value": ""
},
{
                "name": "message",
                "type": "STRING",
                "description": "Message",
                "value": ""
}]