A workflow is a series of actions and decisions that are automated to run sequentially after you run the workflow. vRealize Orchestrator provides a library of workflows that perform common management tasks.

Basics of Workflows

Workflows consist of a schema, variables, and input and output parameters. The workflow schema is the main component of a workflow as it defines all the workflow elements and the logical task flow of the workflow. The workflow variables and parameters are used by workflows to transfer data. vRealize Orchestrator saves a workflow token every time a workflow runs, recording the details of that specific run of the workflow. This token contains all parameters related to the workflow run. For example, if you run a workflow three times, three workflow tokens are saved.

With the vSphere Client, you can run and schedule workflows on selected objects from the vSphere inventory. You cannot create, delete, edit, and manage workflows in the vSphere Client. You develop and manage workflows in the vRealize Orchestrator client. For more information about the vRealize Orchestrator client, see Using the VMware vRealize Orchestrator Client.

Input Workflow Parameters

To run, most workflows require a certain set of input parameters. The workflow processes input parameters that the user, an application, another workflow, or an action passes to it.

For example, if a workflow resets a virtual machine, the workflow requires the name of the virtual machine as an input parameter.

Output Workflow Parameters

The workflow output parameters represent the result from the workflow run. Some workflows and workflow elements can change the output parameters of the workflow when they run. While they run, workflows can receive the output parameters of other workflows as input parameters.

For example, if a workflow creates a snapshot of a virtual machine, the output parameter for the workflow is the resulting snapshot.

Workflow Presentation

When you run a workflow in the vSphere Client, the client loads the workflow presentation. You provide the input parameters of the workflow in the workflow presentation.

Waiting for Input

Some workflows require user input during their run and the run is suspended either until the user provides the required information, or until the workflow run times out.