Search

vRO intrinsic class WorkflowToken

Object representing a instance of a Workflow (running or finished)

Attributes

Name Type Description
attributesStack Attribute[] Returns the attributes' stack of the workflow token. The stack is ordered : the last item in the stack is the current one.
businessState String Get the workflow business state
currentWorkflow Object Returns the current workflow.
endDate String Get the workflow execution end date
endDateAsDate Object Get the workflow execution end date as date object
exception String Return the error code of this workflow, if state is failed
id String Returns the unique identifier (ID) for this object.
isStillValid boolean Returns true is the workflow token is still valid, false if it has been deleted.
logEvents LogEvent[] Returns the log events
name String Returns the name of the workflow token.
rootWorkflow Object Returns the root workflow.
startDate String Get the workflow execution start date
startDateAsDate Object Get the workflow execution start date as date object
state String Return the state of this workflow.
workflowInputId String Returns the current workflow input ID. Returns null if the current workflow item is not a workflow input.

Methods

Name Returns
cancel() void
changeCredential(Object credential) void
getAnswerUrl(Object secure, Object inAutologon, Object inHost, Object inPort, Object inUrl) URL
getAttributes() Properties
getInputParameters() Properties
getInteractionUrl(Object secure, Object inHost, Object inPort) URL
getOutputParameters() Properties
getWebviewAnswerUrl(Object inWebviewUrlFolder, Object inPage, Object secure, Object inAutologon, Object inHost, Object inPort, Object inUrl) URL
saveSchemaImageToFile(String file) void

Returned by

Method Returns
Workflow.execute(Object properties, Object uname, String pwd) WorkflowToken

Referenced in

None