4.1

Table Of Contents
Type Value Description
String
id
The identifier of this particular instance
of a completed workflow.
String
title
The title of this particular instance of a
completed workflow.
By default, the WorkflowToken title is
the same as the Workflow title, although
some operations do allow you to set a
different WorkflowToken title when
you start the workflow.
String
workflowId
The identifier of the workflow of which
this WorkflowToken object is a running
instance.
String
currentItemName
The name of the step in the workflow
that is running at the moment when
getWorkflowTokenForId is called.
String
currentItemState
The state of the current step in the
workflow, with the following possible
values:
n
running: the step is running
n
waiting: the step is waiting for
runtime parameters, which can be
provided by
answerWorkflowInput
n
waiting-signal: the step is
waiting for an external event from a
plug-in
n
canceled: the step was canceled by
a user or API-integrated program
n
completed: the step has finished
n
failed: the step encountered an
error
You must run
getWorkflowTokenForId every time
you update this value.
NOTE VMware recommends that you
do not use currentItemState. The
globalState property makes
currentItemState redundant.
vCenter Orchestrator Developer's Guide
262 VMware, Inc.