Skip to main content

FlowMail

Manages the email and notification functionalities within the workflow.

Properties

NameDescription
UserGroupsA list of user groups included in the workflow mail group.
CaptionThe caption dictionary representing localized captions for the flow object.
EnablePushNotificationGets or sets a value indicating whether push notification is enabled.
ShowInFlowHistorySpecifies whether this mail step should appear in the workflow history.
DetailObjectsA list of detail objects associated with the workflow mail group.
NotificationMessageGets the notification message associated with the message.
MailSubjectGets the mail subject associated with the message.
DepartmentBasedUserGroupsA list of department-based user groups included in the workflow mail group.
KeyA unique identifier for the workflow step.
NameName for the workflow step.
EnableSendMailGets or sets a value indicating whether sending mail is enabled.
TableObjectsA list of table objects associated with the workflow mail group.
MailMessageGets the mail message associated with the message.
VariablePositionsA list of variable positions included in the workflow mail group.
ConstantPositionsA list of constant positions included in the workflow mail group.
IsCustomMailMessageGets or sets a value indicating whether the mail message is custom.
CustomMailMessageGets the custom mail message associated with the message.
MessageOptionsGets or sets the message options.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
DocumentsA list of documents associated with the workflow mail group.
CachedDMObjectsThe cached document management objects related to the flow object.
WebNotificationOptionsGets or sets the web notification options.
IncludeFlowInitiatorDetermines whether to include the workflow initiator in the mail group.
NotificationCaptionGets the notification caption associated with the message.
AttachmentsGets the list of attachments associated with the message.
TypeCodeThe type code associated with the flow object.
UsersA list of resolved users in the workflow mail group.
IncludeDocumentApproversOrRefusersSpecifies whether to include document approvers or refusers in the workflow mail group.
MembersDefines the configuration for members in the workflow mail group.
NotificationOptionsGets or sets the push notification options.

Constructors

NameDescription
FlowMail(name, workflowData, workflowCodeInstance)Constructor for the FlowMail class. Initializes a new instance of the FlowMail class.
FlowMail(name,workflowData,workflowCodeInstance)Initializes a new instance of the FlowMail class.
FlowMail(name, workflowData, workflowCodeInstance)Initializes a new instance of the FlowMail class.

Methods

NameDescription
Send(userInfo, requestItem)Sends an email to the specified user based on the process request.
AddConstantPosition(id)Adds a constant position to the workflow mail group using its ID.
ClearMembers()Clears all members, positions, and related settings from the workflow mail group.
RemoveUser(id)Removes a user from the workflow mail group by their ID.
SendInformationWebNotification(userInfo, requestItem)Sends a web notification to inform the user about a process request.
SendWebNotification(payloadType,userInfo,requestItem)Sends a web notification to a user.
RemovePosition(id)Removes a constant position from the workflow mail group using its ID.
AddConstantUser(id)Adds a constant user to the workflow mail group using their ID.
AddConstantPosition(id, code, description)Adds a constant position to the workflow mail group with additional details.
Initialize()Initializes the workflow mail step with necessary configurations.
RemoveDocument(flowDocument)Removes a document from the workflow mail group.
AddDocument(flowDocument, viewName, viewId, panelSize)Adds a document to the workflow mail group with specified view and display settings.
AddAttachment(value,type)Adds an attachment to the mail message.
AddConstantUser(id, code, name)Adds a constant user to the workflow mail group with additional details.
SendPushNotification(userInfo,requestItem)Sends a push notification to a user.

Events

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