4.2.1

Table Of Contents
3 Click Not set for the timeout.date source parameter to set the timeout parameter value.
4 Select the Date object that encapsulates a relative time and date that you defined in a scripted function and
click Select.
You set the timeout.date attribute to a relative date and time that a scripted function calculates.
What to do next
Define the external input parameters that the user interaction requires from the user. See “Define the External
Inputs for a User Interaction,” on page 43.
Define the External Inputs for a User Interaction
You specify the information that users must provide during a workflow run as the input parameters of a user
interaction.
When a workflow reaches a user interaction element, it waits until a user provides the information that the
user interaction requires as its input parameters.
Prerequisites
n
Add a user interaction element to the workflow schema.
n
Set the security.group attribute for the user interaction.
n
Set the timer.date attribute for the user interaction
Procedure
1 Click the User Interaction element in the workflow schema.
2 Click the External Inputs tab.
3 Right-click in the External Inputs tab and select Bind to workflow parameter/attribute to define the
parameters that the user must provide in the user interaction.
4 (Optional) If you already defined the input parameters in the workflow, select the parameters from the
proposed list.
5 Click Create parameter/attribute in the workflow to create a workflow attribute to bind to the input
parameter that the user provides.
6 Give the parameter an appropriate name.
7 Select the input parameter type from the list of types by searching for an object type in the Filter box.
For example, if the user interaction requires the user to provide a virtual machine as an input parameter,
select VC:VirtualMachine.
8 Select Create workflow ATTRIBUTE with the same name to bind the input parameter that the user
provides to a new attribute in the workflow.
9 Leave the input parameter value set to Not set.
The user provides this value when they respond to the user interaction during the workflow run.
10 Click OK to close the Parameter information dialog box.
You defined the input parameters that the user provides during a user interaction.
What to do next
Define the exception behavior if the user interaction encounters an error. See “Define User Interaction
Exception Behavior,” on page 44.
Chapter 1 Developing Workflows
VMware, Inc. 43