4.2.1

Table Of Contents
Element Bindings
You must bind all workflow element input and output parameters to workflow attributes. Bindings set data
in the elements, and define the output and exception behavior of the elements. Links define the logical flow
of the workflow, whereas bindings define the data flow.
To set data in an element, generate ouput parameters from the element after processing, and handle any errors
that might occur when the element runs, you must set the element binding.
IN bindings
Set a schema element's incoming data. You bind the element's local input
parameters to source workflow attributes. The IN tab lists the element's input
parameters in the Local Parameter column. The IN tab lists the workflow
attributes to which the local parameter binds in the Source Parameter column.
The tab also shows the parameter type and a description of the parameter.
OUT bindings
Change workflow attributes and generate output parameters when an element
finishes its run. The OUT tab lists the element's output parameters in the Local
Parameter column. The OUT tab lists the workflow attributes to which the local
parameter binds in the Source Parameter column. The tab also shows the
parameter type and a description of the parameter.
Exception bindings
Link to exception handlers if the element encounters an exception when it runs.
You must use IN bindings to bind every attribute or input parameter you use in a schema element to a workflow
attribute. If the element changes the values of the input parameters it receives when it runs, you must bind
them to a workflow attribute by using an OUT binding. Binding the element's output parameters to workflow
elements allows other elements that follow it in the workflow schema to take those output parameters as their
input parameters.
A common mistake when creating workflows is to forget to bind output parameter values to reflect the changes
the element makes to the workflow attributes.
IMPORTANT When you add an element that requires input and output parameters of a type that you already
defined in the workflow, Orchestrator sets the bindings to these parameters. You must check that the
parameters Orchestrator binds are correct, in case the workflow defines different parameters of the same type
to which the element could bind.
Define Element Bindings
After you link elements to create the logical flow of the workflow, you define element bindings to define how
each element processes the data it receives and generates.
Prerequisites
You must have a workflow schema in the Schema tab of the workflow editor, and have created links between
the elements.
Procedure
1 Click an element on which to set the bindings.
The element is highlighted and the element attributes tabs appear at the bottom of the Schema tab.
Developing with VMware vCenter Orchestrator
28 VMware, Inc.