Share via


SP.WorkflowServices.WorkflowSubscriptionService object (sp.workflowservices)

Manages subscriptions for SharePoint workflow instances.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.WorkflowServices.WorkflowSubscriptionService()

Members

The WorkflowSubscriptionService object has the following members.

Constructor

The WorkflowSubscriptionService object has the following constructor.

Constructor

Description

WorkflowSubscriptionService

Initializes a new instance of the WorkflowSubscriptionService class.

Methods

The WorkflowSubscriptionService object has the following methods.

Method

Description

deleteSubscription

Deletes the specified WorkflowSubscriptionService instance.

enumerateSubscriptions

Retrieves a WorkflowSubscriptionCollection instance that contains all of the workflow subscriptions on a given site collection (SPWeb).

enumerateSubscriptionsByDefinition

Retrieves a WorkflowSubscriptionCollection instance based on a specified workflow definition.

enumerateSubscriptionsByList

Retrieves a WorkflowSubscriptionCollection based on a specified list.

getCurrent

Gets the current instance of the WorkflowSubscriptionService.

getSubscription

Retrieves an instance of the WorkflowSubscription based on its id.

publishSubscription

Creates a workflow subscription in Microsoft Azure.

publishSubscriptionForList

Creates a workflow subscription in Microsoft Azure and creates an event receiver on the specified list.

registerInterestInList

Creates an event receiver on a SharePoint list for the specified event, if necessary.

unregisterInterestInList

Removes an event receiver from the SharePoint list for a specified event.