5.5.1

Table Of Contents
Type Value Description
WorkflowParameter[] outParameters The outParameters array is the set of
WorkflowParameter objects that
result from running a workflow. This
array allows the workflow to send
errors, the names of any created
objects, and other information as
output.
You can set up arbitrary output
parameters to generate any
information that you need.
WorkflowParameter[] attributes The attributes array is a set of
WorkflowParameter objects that
represent constants and preset
variables for a given workflow.
Attributes differ from inParameters
because they are intended to represent
environmental constants or variables,
rather than runtime information.
NOTE You cannot retrieve workflow
attribute values by using the Web
service. You can only retrieve output
parameter values.
WorkflowParameter Object
The WorkflowParameter object defines a parameter in a workflow, for example, an input, an output, or an
attribute.
Workflow developers can set up arbitrary parameters to provide any input parameters or output
parameters that the workflows need. The format of the parameters is defined entirely by the workflow.
The following table shows the properties of the WorkflowParameter object.
Type Value Description
String
name
The parameter name.
String
type
The parameter type.
WorkflowToken Object
A WorkflowToken object represents a specific instance of a workflow in the running, waiting, waiting-signal,
canceled, completed or failed state.
You obtain a WorkflowToken object by starting a workflow or by obtaining an existing workflow token by its
ID, as the following method signatures show.
public WorkflowToken executeWorkflow(String workflowId, String username, String password,
WorkflowTokenAttribute[] attributes);
public WorkflowToken getWorkflowTokenForId(String workflowTokenId, String username, String
password);
The following table shows the properties of the WorkflowToken object.
Chapter 4 Web Service API Object Reference
VMware, Inc. 73