SP へWorkflowServices.WorkflowInstanceService.countInstancesWithStatus 方法 (sp.workflowservices)
指定した状態が指定したWorkflowSubscriptionのインスタンスの数を取得します。
**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.WorkflowServices.WorkflowInstanceService.countInstancesWithStatus(parentSubscription, status)
戻り値
状態が指定されているサブスクリプション インスタンスの数を表す整数を返します。
パラメーター
parentSubscription
カウントするインスタンスの親サブスクリプション。status
サブスクリプションのインスタンスの数が返されるように状態です。指定されていない場合は、すべての状態のインスタンスがカウントされます。