Skip to main content

FlowGroup

Manages the workflow group settings, including members, positions, timeout options, and documents.

Properties

NameDescription
MessageOptionsGets or sets the message options.
NotificationOptionsGets or sets the push notification options.
ConflictStateEventIdEvent ID for handling conflict states in the group.
KeyA unique identifier for the workflow step.
MailMessageGets the mail message associated with the message.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
CachedDMObjectsThe cached document management objects related to the flow object.
DoNotSendRequestIfProcessedIndicates whether a request should be avoided if already processed.
NotificationCaptionGets the notification caption associated with the message.
PositionsRetrieves the positions resolved for the workflow group members.
EmptyGroupEventIdSpecifies the event ID triggered when the group is empty.
NotificationMessageGets the notification message associated with the message.
HideApporoverInHistoryDetermines whether the approver's name is hidden in the workflow history.
AutoOpenApprovalOptionSpecifies whether approvals should open automatically upon group interaction.
IsCustomMailMessageGets or sets a value indicating whether the mail message is custom.
MailSubjectGets the mail subject associated with the message.
GeolocationOptionsGeolocation options for tracking workflow-related activities.
EnableSendMailGets or sets a value indicating whether sending mail is enabled.
TypeCodeThe type code associated with the flow object.
MembersHolds the configuration for members within the group.
EventsToCheckList of event IDs that should be checked for the workflow group.
TimeoutHourThe number of hours before a timeout occurs.
RequestIsNecessaryIfDocumentChangedSpecifies if a request is required when the document changes.
TimeoutDurationThe total timeout duration for the group.
AttachmentsGets the list of attachments associated with the message.
WebNotificationOptionsGets or sets the web notification options.
TableObjectsList of table objects relevant to the workflow group.
TimeoutOptionsDefines the timeout settings for the group.
TimeoutDayThe number of days before a timeout occurs.
NameName for the workflow step.
DetailObjectsDetail objects within the workflow group.
CalculateUsingWorkingHoursIndicates whether working hours are considered for timeout calculations.
UsersRetrieves the users resolved for the workflow group members.
EnableOwnRequestSpecifies whether users can approve their own requests within this group.
DocumentsList of documents associated with the workflow group.
EventsRead-only list of events associated with the workflow group.
EnablePushNotificationGets or sets a value indicating whether push notification is enabled.
PositionGroupsRepresents the position groups associated with the workflow group.
CustomMailMessageGets the custom mail message associated with the message.
TimeoutMinuteThe number of minutes before a timeout occurs.
ShowInFlowHistoryIndicates whether this group should appear in the workflow history.
CalculateUsingHolidaysDetermines whether holiday settings are considered in timeout calculations.
CaptionThe caption dictionary representing localized captions for the flow object.

Constructors

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

Methods

NameDescription
SendRequestsCanceledWebNotification(userInfo, requestItem)Sends a real-time notification to the user indicating that the current request has been canceled, prompting the client to close any associated open forms.
AddConstantPosition(id)Adds a constant position to the workflow group using its ID.
ClearGroup()Clears all members, positions, and related settings from the workflow group.
AddConstantUser(id)Adds a constant user to the workflow group using their ID.
AddConstantUser(id, userName, userCode)Adds a constant user to the workflow group with additional details.
Initialize()Initializes the workflow group with default configurations.
AddAttachment(value,type)Adds an attachment to the mail message.
RemoveDocument(flowDocument)Removes a document from the workflow group.
IsEmpty()Checks if the workflow group has no members or positions.
AddConstantPosition(id, positionCode, positionDescription)Adds a constant position to the workflow group with additional details.
AddDocument(flowDocument, viewName, viewId, panelSize, allowEdit, showEvents)Adds a document to the workflow group with various display options.
SendPushNotification(userInfo,requestItem)Sends a push notification to a user.
AddDepartmentBasedUserGroup(departmentId, titleId)Adds a user group based on department and title to the workflow group.
SendApprovalWebNotification(userInfo, requestItem)Sends a web notification for approval to the specified user.
SendRequestTimedOutWebNotification(userInfo, requestItem)Sends a real-time notification to the user indicating that the request has timed out, prompting the client to close any related open forms.
ToLiquid()Converts the workflow group configuration into a Liquid-compatible format.
GetUserInfo(requestItem)Retrieves user information for a given process request item.
SendMail(requestItem, userInfo)Sends an email to a user associated with the process request.
SendWebNotification(payloadType,userInfo,requestItem)Sends a web notification to a user.

Events

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

Generic Types

NameDescription
TPropertiesGeneric type of properties.