WorkflowInstanceService members
Reads the SharePoint workflow instances from the external workflow host and manages the instance execution.
The WorkflowInstanceService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WorkflowInstanceService | Initializes a new instance of the WorkflowInstanceService class. |
Top
Methods
Name | Description | |
---|---|---|
CancelWorkflow | Sends a cancel message to the specified workflow instance and permits the instance to execute a cancellation scope. | |
CountInstances | Retrieves a count of all the instances of the specified WorkflowSubscription. | |
CountInstancesWithStatus | Retrieves a count of the instances of the specified WorkflowSubscription that have a specified status. | |
Enumerate(WorkflowSubscription) | Gets a workflow instance collection comprising the 100 most recent workflow instances started by a specified subscription. | |
Enumerate(WorkflowSubscription, Int32) | Gets a workflow instance collection comprising 100 workflow instances starting at the specified offset. | |
EnumerateInstancesForListItem(Guid, Int32) | Retrieves all instances of the specified list item. | |
EnumerateInstancesForListItem(Guid, Int32, Int32) | Gets the instances for the specified list item, starting from the specified offset. | |
EnumerateInstancesForSite() | Retrieves the site-scope workflow instances for the current site. | |
EnumerateInstancesForSite(Int32) | Gets the site workflow instances for the current site, starting from the specified offset. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetDebugInfo | Retrieves the debug info for the specified workflow instance in JSON format. | |
GetHashCode | (Inherited from Object.) | |
GetInstance | Gets a workflow instance from external workflow instance store by specified id. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
PublishCustomEvent | Sends a custom event to a running workflow with the event payload. | |
ResumeWorkflow | ||
StartWorkflow | Starts a Workflow Manager Client 1.0 instance specified by the subscription and passes the supplied parameters. | |
StartWorkflowOnListItem | Starts a Workflow Manager Client 1.0 instance of the specified WorkflowSubscription on the list item. | |
SuspendWorkflow | ||
TerminateWorkflow | Terminate a workflow instance forcefully by deleting it from memory. The instance is not allowed to execute a cancellation scope | |
ToString | (Inherited from Object.) |
Top