4.2

Table Of Contents
Defining Attributes and Parameters
After you create a workflow, you must determine the workflow's global attributes and input and output
parameters.
Workflow attributes are data that workflows process internally. Workflow input parameters are data that
comes from an outside source, such as a user or another workflow. Workflow output parameters are data that
the workflow delivers when it ends.
n
Define Workflow Attributes on page 17
Workflow attributes are the data that workflows process.
n
Define Workflow Parameters on page 18
Input and output parameters allow you to pass information and data into and out of the workflow.
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 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
You must have created a workflow and opened the workflow editor for that workflow.
Procedure
1 Click the General tab in the workflow editor.
The attributes pane appears in the bottom half of the General tab.
2 Right-click in the attributes pane and select Add Attribute.
A new attribute appears in the attributes list, with String as its default type.
3 Click the attribute name to change it.
The default name is att<X>, where <X> is a number.
NOTE Workflow attributes must not have the same name as any of the workflow's parameters.
4 Click the attribute type to select a new type from a list of possible values.
The default attribute type is String.
5 Click the attribute value to set or select a value according to the attribute type.
6 Add a description of the attribute in the Description text box.
7 If the attribute is a constant rather than a variable, click the check box to the left of the attribute name to
make its value read-only.
The lock icon ( ) identifies the column of read-only check boxes.
Chapter 1 Developing Workflows
VMware, Inc. 17