WorkflowInstance
Represents an instance of a workflow.
Schema
<?xml version="1.0"?><xs:schema xmlns:rm="https://schemas.microsoft.com/2006/11/ResourceManagement" targetNamespace="https://schemas.microsoft.com/2006/11/ResourceManagement" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="WorkflowInstance">
<xs:sequence>
<xs:element minOccurs="0" name="ObjectID" type="rm:ReferenceType" />
<xs:element minOccurs="1" name="ObjectType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value=".{0,448}" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="1" name="CreatedTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="Creator" type="rm:ReferenceType" />
<xs:element minOccurs="0" name="MVObjectID">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value=".{0,448}" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="DeletedTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="Description">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value=".{0,448}" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="DetectedRulesList" type="rm:ReferenceCollectionType" />
<xs:element minOccurs="0" name="DisplayName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value=".{0,448}" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="ExpectedRulesList" type="rm:ReferenceCollectionType" />
<xs:element minOccurs="0" name="ExpirationTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="Locale">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value=".{0,448}" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="ResourceTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="Request" type="rm:ReferenceType" />
<xs:element minOccurs="0" name="Requestor" type="rm:ReferenceType" />
<xs:element minOccurs="0" name="Target" type="rm:ReferenceType" />
<xs:element minOccurs="0" name="WorkflowDefinition" type="rm:ReferenceType" />
<xs:element minOccurs="1" name="WorkflowStatus">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="^(Created|Pending|Running|Suspended|Completed|Terminated|Canceled)$" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="WorkflowStatusDetail" type="rm:TextCollectionType" />
</xs:sequence>
</xs:complexType>
</xs:schema>
Properties
The following table lists the properties of the WorkflowInstance resource.
Property | Description |
---|---|
Request |
Optional property. Reference to the Request that caused this workflow instance to be created. |
Requestor |
Optional property. Reference to the resource that caused the WorkflowInstance resource to be created. |
Target |
Indicates the target of the WorkflowInstance. This can be a reference to a resource of any type. |
WorkflowStatus |
Required String property. Valid values are: Created Pending Running Suspended Completed Terminated Canceled Refer to Request Processing. |
WorkflowDefinition |
Optional property. Reference to a WorkflowDefinition resource of which the WorkflowInstance is an instance. |
WorkflowStatusDetail |
Optional multi-valued String. This attribute captures errors encountered during the workflow instance’s execution. |
Parent Elements
None
Remarks
All of the resource types in FIM have the same attribute bindings as the Resource type by default. For more information, see Forefront Identity Manager Schema.
See Also
Concepts
WorkflowDefinition
How to: Retrieve the FIM Service Schema Using WS-MetadataExchange