5.1

Table Of Contents
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 18
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.
Define Workflow Parameters
You can use input and output parameters to pass data into and out of the workflow.
You can define the parameters of a workflow in the workflow editor. The input parameters are the initial data
that the workflow requires to run. Users provide the values for the input parameters when they run the
workflow. The output parameters are the data the workflow returns when it completes its run.
Prerequisites
Open a workflow for editing in the workflow editor.
Procedure
1 Click the appropriate tab in the workflow editor.
n
Click Inputs to create input parameters.
n
Click Outputs to create output parameters.
2 Right-click inside the parameters tab and select Add parameter.
3 Click the parameter name to change it.
The default name is arg_in_X for input parameters and arg_out_X for output parameters, where X is a
number.
4 (Optional) To change the value of the parameter type, click the value and select one from the list of available
values.
The value for the parameter type is String by default.
5 Add a description for the parameter in the Description text box.
6 (Optional) If you decide that the parameter should be an attribute rather than a parameter, right-click the
parameter and select Move as attribute to change the parameter into an attribute.
You have defined an input or output parameter for the workflow.
What to do next
After you define the workflow's parameters, build the workflow schema.
Chapter 1 Developing Workflows
VMware, Inc. 17