4.1

Table Of Contents
Type Value Description
String
workflowTokenId
ID of this specific run of the workflow
String
username
Orchestrator user name.
String
password
Orchestrator password.
Return Value
Returns an array of WorkflowTokenAttribute objects that correspond to the provided workflow token ID or
IDs. Returns null if you pass it an invalid parameter.
getWorkflowTokenStatus Operation
The getWorkflowTokenStatus operation obtains the globalStatus of specific workflow tokens.
The getWorkFlowTokenStatus operation checks the status of a workflow or an array of workflows while they
run. The getWorkFlowTokenStatus operation obtains the globalStatus value from running WorkflowToken
objects, identified by their workflowTokenId. The globalStatus value can be one of the following.
n
running: the workflow is running
n
waiting: the workflow is waiting for runtime parameters, which can be provided by answerWorkflowInput
n
waiting-signal: the workflow is waiting for an external event
n
canceled: the workflow was canceled by a user or by an application
n
completed: the workflow has finished
n
failed: the workflow encountered an error
The getWorkflowTokenStatus operation is declared as follows.
public String[] getWorkflowTokenStatus(String[] workflowTokenID, String username,
String password);
Type Value Description
Array of strings
workflowTokenId
List of workflow token IDs.
String
username
Orchestrator user name.
String
password
Orchestrator password.
Return Value
Returns a list of workflow token status values. The returned value is a string array of the globalStatus of each
workflow token, ordered by their workflowTokenID values. Returns null if you pass it an invalid parameter.
Related Information
For related information, see “WorkflowToken Object,” on page 261.
Chapter 8 Developing a Web Services Client
VMware, Inc. 275