You must begin the workflow development process by creating the workflow in the Orchestrator client.

Before you begin

Verify that the following components are installed and configured on the system.

  • vCenter Server, controlling some virtual machines, at least one of which is powered off

  • Access to an SMTP server

  • A valid email address

For information about how to install and configure vCenter Server, see the vSphere Installation and Setup documentation. For information about how to configure Orchestrator to use an SMTP server, see Installing and Configuring VMware vRealize Orchestrator.

To write a workflow, you must have an Orchestrator user account with at least View, Execute, Inspect, Edit, and preferably Admin permissions on the server or on the workflow folder in which you are working.

Procedure

  1. From the drop-down menu in the Orchestrator client, select Design.
  2. Click the Workflows view.
  3. Right-click the root of the workflows list and select Add folder.
  4. Name the new folder Workflow Examples and click OK.
  5. Right-click the Workflow Examples folder and select New workflow.
  6. Name the new workflow Start VM and Send Email and click OK.

    The workflow editor opens.

  7. In the General tab, click the version number digits to increment the version number.

    Because this is the initial creation of the workflow, set the version to 0.0.1.

  8. Click the Server restart behavior value in the General tab to set whether the workflow resumes after a server restart.
  9. Type a description of what the workflow does in the Description text box in the General tab.

    For example, you can add the following description.

    This workflow starts a virtual machine and sends a confirmation email to the Orchestrator administrator.

  10. Click Save at the bottom of the General tab.

Results

You created a workflow called Start VM and Send Email, but you did not define its functions.

What to do next

Create the workflow's schema.