SP へWorkflowServices.WorkflowInstanceService オブジェクト (sp.workflowservices)

外部のワークフローのホストから SharePoint ワークフローのインスタンスを読み取ってインスタンスの実行を管理します。

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.WorkflowServices.WorkflowInstanceService()

メンバー

WorkflowInstanceServiceオブジェクトでは、次のメンバーがあります。

Constructor

WorkflowInstanceServiceオブジェクトでは、次のコンスがあります。

コンストラクター

説明

WorkflowInstanceService

Initializes a new instance of the WorkflowInstanceService object.

メソッド

WorkflowInstanceServiceオブジェクトでは、次の方法があります。

メソッド

説明

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.

列挙

Gets a workflow instance collection comprising the 100 most recent workflow instances started by a specified subscription.

enumerateInstancesForListItem

Retrieves all instances of the specified list item.

enumerateInstancesForListItemWithOffset

enumerateInstancesForSite

Retrieves the site-scope workflow instances for the current site.

enumerateInstancesForSiteWithOffset

enumerateWithOffset

getDebugInfo

Retrieves the debug information for the specified workflow instance in JSON format.

getInstance

Gets a workflow instance from external workflow instance store by specified id.

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.

プロパティ

WorkflowInstanceServiceオブジェクトでは、次のプロパティがあります。