5.5
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
- Debugging Workflows
- Running Workflows
- Resuming a Failed Workflow Run
- 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 Scripting 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
color coding of keywords 128
email examples 133
examples 131
exception handling 130
file system examples 135
JavaScript object types 127
LDAP examples 135
logging examples 136
Mozilla Rhino JavaScript engine 124
networking examples 136
scripted elements 123
workflow examples 136
scripting engine 124
search, modifying results 22
search results 20
simple workflow example
notes 84
zones 84
Start Workflow element 23
Start workflows in a series workflow 62
Start workflows in parallel workflow 62
system properties 130
T
token 11
U
User Interaction element 23
user interactions
attributes 46, 47
defining external inputs 51
elements 46, 47
relative timeout 49, 50
user interactions, exceptions 52
user interactions, input parameters dialog
box 53
user interactions, responding 54
user interactions, security.group attribute 47
user interactions, timeout.date attribute 48, 50
using 139
V
viewing 139
W
Waiting Event element 23
Waiting Timer element 23
worfklows, validation 70
workflow
attributes 16, 17, 85
create simple 79
creating 81, 103
end 73
notes 84, 107
parameters 16, 17, 85
presentation 15, 42
running 101, 120
schema 15
validation 101, 120
zones 84, 107
workflow debugger 72
workflow attributes, naming 18
workflow development 9
workflow documentation 78
workflow editor
General tab 16
opening 14
tabs 15
workflow folders 13
workflow parameters, naming 18
workflow presentation, creating 42
workflow schema
bindings 29
copying elements 21
create 20, 82, 105
edit 20
elements 20
links 29
schema element properties tabs 27
viewing 20
Workflow schema, schema element
properties 26
workflow schema, elements 23
workflow token
attributes 73
check points 73
workflow token attributes 12
workflow validation tool 70
workflows
asynchronous 55, 58
branching 36
calling other workflows 54
creation 13
debugging 72
debugging example 73
develop complex 102
editing 14
editing standard workflows 14
file system access 129
input parameter properties 44
nested 55
OGNL expression values 45
permissions 69, 70
phases of development 12
Index
VMware, Inc. 157