5.5.1

Table Of Contents
Procedure
1 Click the General tab in the workflow editor.
2 Click the Version digits to set a version number for the workflow.
The Version Comment dialog box opens.
3 Type a comment for this version of the workflow and click OK.
For example, type Initial creation if you just created the workflow.
A new version of the workflow is created. You can later revert the state of the workflow to this version.
4 Define how the workflow behaves if the Orchestrator server restarts by setting the Server restart
behavior value.
n
Leave the default value of Resume workflow run to make the workflow resume at the point at
which its run was interrupted when the server stopped.
n
Click Resume workflow run and select Do not resume workflow run (set as FAILED) to prevent
the workflow from restarting if the Orchestrator server restarts.
Prevent the workflow from restarting if the workflow depends on the environment in which it runs. For
example, if a workflow requires a specific vCenter Server and you reconfigure Orchestrator to connect
to a different vCenter Server, restarting the workflow after you restart the Orchestrator server causes
the workflow to fail.
5 Type a detailed description of the workflow in the Description text box.
6 Click Save at the bottom of the workflow editor.
A green message at the bottom left of the workflow editor confirms that you saved your changes.
You defined aspects of the workflow behavior, set the version, and defined the operations that users can
perform on the workflow.
What to do next
You must define the workflow attributes and parameters.
Defining Attributes and Parameters
After you create a workflow, you must define the global attributes, input parameters, and output
parameters of the workflow.
Workflow attributes store data that workflows process internally. Workflow input parameters are data
provided by an outside source, such as a user or another workflow. Workflow output parameters are data
that the workflow delivers when it finishes its run.
n
Define Workflow Parameters on page 17
You can use input and output parameters to pass data into and out of the workflow.
n
Define Workflow Attributes on page 17
Workflow attributes are the data that workflows process.
n
Attribute and Parameter Naming Restrictions on page 18
You can use OGNL expressions to determine input parameters dynamically when a workflow runs.
The Orchestrator OGNL parser uses certain keywords during OGNL processing that you cannot use
in workflow attribute or parameter names.
Developing with VMware vCenter Orchestrator
16 VMware, Inc.