5.1
Table Of Contents
- Developing with VMware vCenter Orchestrator
- Contents
- Developing with VMware vCenter Orchestrator
- Developing Workflows
- Key Concepts of Workflows
- Phases in the Workflow Development Process
- Access Rights for the Orchestrator Client
- Testing Workflows During Development
- Creating and Editing a Workflow
- Provide General Workflow Information
- Defining Attributes and Parameters
- Workflow Schema
- Obtaining Input Parameters from Users When a Workflow Starts
- Requesting User Interactions While a Workflow Runs
- Add a User Interaction to a Workflow
- Set the User Interaction security.group Attribute
- Set the timeout.date Attribute to an Absolute Date
- Calculate a Relative Timeout for User Interactions
- Set the timeout.date Attribute to a Relative Date
- Define the External Inputs for a User Interaction
- Define User Interaction Exception Behavior
- Create the Input Parameters Dialog Box for the User Interaction
- Respond to a Request for a User Interaction
- Calling Workflows Within Workflows
- Running a Workflow on a Selection of Objects
- Developing Long-Running Workflows
- Configuration Elements
- Workflow User Permissions
- Validating Workflows
- Running Workflows
- Generate Workflow Documentation
- Use Workflow Version History
- Restore Deleted Workflows
- Develop a Simple Example Workflow
- Create the Simple Workflow Example
- Create the Schema of the Simple Workflow Example
- Create the Simple Workflow Example Zones
- Define the Parameters of the Simple Workflow Example
- Define the Simple Workflow Example Decision Bindings
- Bind the Action Elements of the Simple Workflow Example
- Bind the Simple Workflow Example Scripted Task Elements
- Define the Simple Workflow Example Exception Bindings
- Set the Read-Write Properties for Attributes of the Simple Workflow Example
- Set the Simple Workflow Example Parameter Properties
- Set the Layout of the Simple Workflow Example Input Parameters Dialog Box
- Validate and Run the Simple Workflow Example
- Develop a Complex Workflow
- Create the Complex Workflow Example
- Create a Custom Action for the Complex Workflow Example
- Create the Schema of the Complex Workflow Example
- Create the Complex Workflow Example Zones
- Define the Parameters of the Complex Workflow Example
- Define the Bindings for the Complex Workflow Example
- Set the Complex Workflow Example Attribute Properties
- Create the Layout of the Complex Workflow Example Input Parameters
- Validate and Run the Complex Workflow Example
- Scripting
- Orchestrator Elements that Require Scripting
- Limitations of the Mozilla Rhino Implementation in Orchestrator
- Using the Orchestrator API
- Access the Scripting Engine from the Workflow Editor
- Access the Scripting Engine from the Action or Policy Editor
- Access the Orchestrator API Explorer
- Use the Orchestrator API Explorer to Find Objects
- Writing Scripts
- Add Parameters to Scripts
- Accessing the Orchestrator Server File System from JavaScript and Workflows
- Accessing Java Classes from JavaScript
- Accessing Operating System Commands from JavaScript
- Exception Handling Guidelines
- Orchestrator JavaScript Examples
- Developing Actions
- Creating Resource Elements
- Creating Packages
- Index
LDAP examples 128
logging examples 128
Mozilla Rhino Javascript engine 118
networking examples 129
scripted elements 117
workflow examples 129
scripting engine 118
search, modifying results 22
search results 20
simple workflow example
notes 78
zones 78
Start Workflow element 23
Start workflows in a series workflow 61
Start workflows in parallel workflow 61
system properties 124
T
token 11
U
User Interaction element 23
user interactions
attributes 45, 46
defining external inputs 50
elements 45, 46
relative timeout 48, 49
user interactions, exceptions 51
user interactions, input parameters dialog
box 52
user interactions, responding 53
user interactions, security.group attribute 46
user interactions, timeout.date attribute 47, 49
using 131
V
viewing 131
W
Waiting Event element 23
Waiting Timer element 23
worfklows, validation 69
workflow
attributes 17, 18, 80
create simple 74
creating 75, 97
end 70
notes 78, 101
parameters 17, 80
presentation 15, 41
running 95, 114
schema 15
validation 95, 114
zones 78, 101
workflow attributes, naming 18
workflow development 9
workflow documentation 72
workflow editor
General tab 16
opening 14
tabs 15
workflow folders 13
workflow parameters, naming 18
workflow presentation, creating 41
workflow schema
bindings 28
copying elements 21
create 20, 76, 99
edit 20
elements 20
links 28
schema element properties tabs 26
viewing 20
Workflow schema, schema element
properties 26
workflow schema, elements 23
workflow token
attributes 70
check points 70
workflow token attributes 12
workflow validation tool 69
workflows
asynchronous 54, 57
branching 35
calling other workflows 53
creation 13
develop complex 96
editing 14
editing standard workflows 14
file system access 123
input parameter properties 43
nested 54
OGNL expression values 44
permissions 68, 69
phases of development 12
propagate input parameters 56
propagate presentation 56
propagating changes 55
restoring deleted 73
running 70, 71
running on a selection of objects 60
scheduled 54, 57
standard library 14
starting 54
Index
VMware, Inc. 149