SP.WorkflowServices.WorkflowSubscriptionService.publishSubscriptionForList Method (sp.workflowservices)

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

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

SP.WorkflowServices.WorkflowSubscriptionService.publishSubscriptionForList(subscription, listId)

Return value

The Guid identifier of the subscription.

Parameters

  • subscription
    The subscription data to publish.

  • listId
    The Guid Id of the list.