RunningWorkflow Data Type

A running workflow.

Namespace
(Default)
Properties
name data type type namespace min/max occurs description
addOwnerAsAdmin string element 0/1 Checks if is add owner as admin.
autoDeploy string element 0/1 Checks if is auto deploy.
comments list of Comment element 0/unbounded Gets the comments.
completedTimestamp string element 0/1 Gets the completed timestamp.
currentStepId long element 1/1 Gets the current step id.
currentStepName string element 0/1 Gets the current step name.
currentStepNumber int element 1/1 Gets the current step number.
definitionId long element 1/1 Old workflows may not have the workflow definition ID available (definition deleted) and therefore cannot reference their workflow definitions. These will have IDs of -1.
duration string element 0/1 Gets the duration.
error string element 0/1 Gets the error.
global string element 0/1 Gets the global.
id long element 1/1 Gets the id.
initiator string element 0/1 Gets the initiator.
name string element 0/1 Gets the name.
organization ManagedObjectReference element 0/1 Gets the organization.
progress float element 0/1 Gets the progress.
request ManagedObjectReference element 0/1 Can be null for service (VM) workflows.
startTimestamp string element 0/1 Gets the start timestamp.
status WorkflowStatus element 0/1 Gets the status.
steps list of ObjectRepresentation element 0/unbounded Gets the steps.
target ManagedObjectReference element 0/1 Can be null for approval workflows.
users list of OwnerInfo element 0/unbounded Gets the users.
workflowType WorkflowType element 0/1 Gets the workflow type.

Example

<RunningWorkflow>
  <id>...</id>
  <definitionId>...</definitionId>
  <name>...</name>
  <currentStepNumber>...</currentStepNumber>
  <currentStepId>...</currentStepId>
  <currentStepName>...</currentStepName>
  <startTimestamp>...</startTimestamp>
  <completedTimestamp>...</completedTimestamp>
  <workflowType>...</workflowType>
  <initiator>...</initiator>
  <error>...</error>
  <steps xsitype="...">
    <name>...</name>
    <originalObjectId>...</originalObjectId>
  </steps>
  <users xsitype="...">
    <id>...</id>
    <loginId>...</loginId>
    <displayName>...</displayName>
    <email>...</email>
    <itContact>...</itContact>
    <primary>...</primary>
  </users>
  <organization xsitype="...">
    <displayName>...</displayName>
    <type>...</type>
    <id>...</id>
  </organization>
  <comments>
    <userText>...</userText>
    <author>...</author>
    <timestamp>...</timestamp>
    <systemGeneratedText>...</systemGeneratedText>
  </comments>
  <progress>...</progress>
  <target xsitype="...">
    <displayName>...</displayName>
    <type>...</type>
    <id>...</id>
  </target>
  <status>...</status>
  <request xsitype="...">
    <displayName>...</displayName>
    <type>...</type>
    <id>...</id>
  </request>
  <duration>...</duration>
  <addOwnerAsAdmin>...</addOwnerAsAdmin>
  <global>...</global>
  <autoDeploy>...</autoDeploy>
</RunningWorkflow>