5.5.1

Table Of Contents
Set the Read-Write Properties for Attributes of the Simple Workflow Example
You can define whether parameters and attributes are read-only constants or writeable variables. You can
also set limitations on the values that users can provide for input parameters.
Setting certain parameters to read-only allows other developers to adapt the workflow or to modify it
without breaking the workflow's core function.
Prerequisites
Complete the following tasks.
n
“Create the Simple Workflow Example,” on page 81.
n
“Create the Schema of the Simple Workflow Example,” on page 82.
n
“Define the Parameters of the Simple Workflow Example,” on page 85.
n
“Define the Simple Workflow Example Decision Bindings,” on page 86.
n
“Bind the Action Elements of the Simple Workflow Example,” on page 87.
n
“Bind the Simple Workflow Example Scripted Task Elements,” on page 90.
n
“Define the Simple Workflow Example Exception Bindings,” on page 97.
n
Open the workflow for editing in the workflow editor.
Procedure
1 Click the General tab at the top of the workflow editor.
Under Attributes is a list of all the defined attributes, with check boxes next to each attribute. When you
select these check boxes, you set attributes as read-only.
2 Select the check boxes to make the following attributes read-only constants:
n
progress
n
pollRate
n
timeout
n
smtpHost
n
fromAddress
n
subject
You have defined which of the workflow's attributes are constants and which are variables.
What to do next
Set the parameter properties and place constraints on the possible values for that parameter.
Set the Simple Workflow Example Parameter Properties
You can set the parameter properties in the workflow editor. Setting the parameter properties affects the
behavior of the parameter, and places constraints on the possible values for that parameter.
Prerequisites
Complete the following tasks.
n
“Create the Simple Workflow Example,” on page 81.
n
“Create the Schema of the Simple Workflow Example,” on page 82.
Developing with VMware vCenter Orchestrator
98 VMware, Inc.