3. Triggering Workflows with vCloud Notifications : 3.6 Triggered Workflow Examples
   
3.6 Triggered Workflow Examples
Examples of workflows to be triggered by the notifications and blocking tasks are provided as part of the package and are located in the PSO/vCloud Director notifications/Workflow samples to be triggered by the policies folder.
Table 9. Workflow Samples to be Triggered
Workflow
Description
Log all
Log all the output parameters passed by the Workflow Runner. This is useful to check what information can be obtained from a given event in order to create a workflow with the matching inputs.
Approve vApp (Simple)
Used for handling Instantiate vApp from Template blocking task.
Approve vApp (AD)
Used for handling Instantiate vApp from Template blocking task. (Adds the ability to add a computer account to an organization unit in Active Directory that matches the vCloud Director organization name.).
Customize VM names and IP
Upon deployment of new vApp set custom vApp virtual machine names and IP address. Used for handling Instantiate vApp from Template blocking task.
Approve Build vApp
Used for handling the Build New vApp blocking task.
Approve Add Move or Delete VM from vApp
Used for handling the Add, Move or Delete Virtual Machine from vApp blocking task.
Approve modify VM Configuration
Used for handling the Modify Virtual Machine Configuration blocking task.
Approve Delete vApp
Used for handling Delete vApp blocking task.
 
To use the approval workflows, you must first run the Customization Config workflow in the
PSO/vCloud Director notifications/Install – Config folder. This workflow creates or updates a configuration element named vCloud Director vApp approval. It provides the following configuration settings:
*General settingsReject email template content.
*Approval information:
*Option to have organization administrators be the approvers.
*LDAP group for the approvers.
*Organizations that do not require approval.
*Workflow Settings:
*Number of hours before sending last notice.
*Blocking task default time out (in days).
*Active Directory Organization Unit – Parent organization units for creating new organization units.