You define exception bindings in the Schema tab in the workflow editor. Exception bindings define how elements process errors.
The following elements in the workflow return exceptions: startVM, vim3WaitTaskEnd, Send Email, and vim3WaitToolsStarted.
Complete the following tasks.
Create the Simple Workflow Example.
Create the Schema of the Simple Workflow Example.
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.
Open the workflow for editing in the workflow editor.
On the Schema tab, click the Edit icon () of the startVM action element.
Click the Exception tab.
Click the Not set button.
Select errorCode from the proposed list.
Repeat the preceding steps to set the exception binding to errorCode for both vim3WaitTaskEnd and vim3WaitToolsStarted.
Click the Edit icon () of the Send Email scriptable task element.
Select emailErrorCode from the proposed list.
Click Save at the bottom of the workflow editor's Schema tab.
You have defined the exception binding for the elements that return exceptions.
You must set the read and write properties on the attributes and parameters.