Table of contents
TOC
Collapse the table of content
Expand the table of content

WorkflowExtensions.PublishCustomEvent Method

SharePoint Dev Documents|Last Updated: 6/19/2017
|
1 Contributor

Publish a custom event to a target workflow instance

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static void PublishCustomEvent(this WorkflowInstance instance, String eventName, String payload)

Parameters

instance

  Type: Microsoft.SharePoint.Client.WorkflowServices.WorkflowInstance
  the workflow instance to publish event

eventName

  Type: System.String
  The name of the target event

payload

  Type: System.String
  The payload that will be sent to the event

Return Value

Type: void

See also

© 2018 Microsoft