5.5.1

Table Of Contents
Increment Scriptable Task Element
The Increment scriptable task element increments the counter that counts the number of virtual machines in
the array. The following table shows the bindings that the Increment scriptable task element requires.
Table 123. Bindings of the Increment Scriptable Task Element
Parameter Name Binding Type
Bind to Existing
or Create
Parameter? Binding Values
vmCounter
IN Bind
n
Local parameter: vmCounter
n
Source parameter:
vmCounter[attribute]
n
Type: number
n
Description:
The counter of the virtual
machines inside the array
allVMs
IN Bind
n
Local parameter: allVMs
n
Source parameter:
allVMs[attribute]
n
Type:
Array/VC:VirtualMachine
n
Description:
The virtual machines in the
resource pool.
vmCounter
OUT Bind
n
Local parameter: vmCounter
n
Source parameter:
vmCounter[attribute]
n
Type: number
n
Description:
The counter of the virtual
machines inside the array
vm
OUT Bind
n
Local parameter: vm
n
Source parameter:
vm[attribute]
n
Type: VC:VirtualMachine
n
Description:
The current virtual machine
having a snapshot taken
The Increment scriptable task element performs the following scripted function.
//Increases the array VM counter
vmCounter++;
//Sets the next VM to be snapshot in the attribute vm
vm = allVMs[vmCounter];
Log Exception Scriptable Task Element
The Log Exception scriptable task element handles exceptions from the workflow and action elements. The
following table shows the bindings that the Log Exception scriptable task element requires.
Chapter 1 Developing Workflows
VMware, Inc. 117