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

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

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

SP.WorkflowServices.WorkflowSubscriptionService.registerInterestInList(listId, eventName)

Return value

None.

Parameters

  • listId
    Guid Id of the list.

  • eventName
    The name of the event for which the receiver is created.