Skip to main content

FlowPushNotification

Represents a workflow step for managing push notifications, including settings and delivery logic.

Properties

NameDescription
CaptionThe caption dictionary representing localized captions for the flow object.
KeyA unique identifier for the workflow step.
NameName for the workflow step.
SubjectThe multilanguage subject of the push notification.
IsEnabledDetermines whether push notifications are enabled for this step.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
CachedDMObjectsThe cached document management objects related to the flow object.
MessageThe multilanguage message body of the push notification.
TypeCodeThe type code associated with the flow object.
UsersA list of resolved users who will receive the notification.
MembersThe configuration for members who will receive the push notification.

Constructors

NameDescription
FlowPushNotification(name, workflowData, workflowCodeInstance)Constructor for the FlowPushNotification class. Initializes a new instance of the FlowPushNotification class.
FlowPushNotification(name, workflowData, workflowCodeInstance)Initializes a new instance of the FlowPushNotification class with a name, workflow data, and workflow code instance.

Methods

NameDescription
SendPushNotification(userInfo, requestItem)Sends a push notification to a specified user based on a process request item.
AddConstantPosition(id)Adds a position to the push notification's recipient list using its ID.
ClearMembers()Clears all members from the push notification's recipient configuration.
AddConstantUser(id)Adds a user to the push notification's recipient list using their ID.
AddConstantPosition(id, code, description)Adds a position to the push notification's recipient list using its ID, code, and description.
Initialize()Initializes the push notification step with default settings.
AddConstantUser(id, code, name)Adds a user to the push notification's recipient list using their ID, code, and name.

Events

NameDescription
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.