5.5

Table Of Contents
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.
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.
Define Workflow Attributes
Workflow attributes are the data that workflows process.
NOTE You can also define workflow attributes in the workflow schema elements when you create the
workflow schema. It is often easier to define an attribute when you create the workflow schema element that
processes it.
Prerequisites
Open a workflow for editing in the workflow editor.
Chapter 1 Developing Workflows
VMware, Inc. 17