Skip to main content

FlowStarterPosition

Represents a workflow step for managing the starting position of a flow, with various timeout and notification options.

Properties

NameDescription
TimeoutOptionsTimeout options for managing delays and expiration settings for the starter position.
CaptionThe caption dictionary representing localized captions for the flow object.
EnablePushNotificationGets or sets a value indicating whether push notification is enabled.
ShowInFlowHistorySpecifies if the position should appear in the workflow history.
HideApporoverInHistoryDetermines whether the approver should be hidden in the workflow history.
TimeoutHourThe number of hours specified for the timeout duration.
GeolocationOptionsGeolocation options associated with the starter position.
IdThe unique identifier of the starter position.
NotificationMessageGets the notification message associated with the message.
EventsToCheckA list of events that need to be monitored for the starter position.
MailSubjectGets the mail subject associated with the message.
KeyA unique identifier for the workflow step.
AutoOpenApprovalOptionIndicates if approval options should automatically open for this position.
TimeoutMinuteThe number of minutes specified for the timeout duration.
CodeThe code or username associated with the starter position.
NameName for the workflow step.
EnableSendMailGets or sets a value indicating whether sending mail is enabled.
EventsA read-only list of events linked to the starter position.
MailMessageGets the mail message associated with the message.
TimeoutDurationThe total timeout duration represented as a TimeSpan.
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.
RequestIsNecessaryIfDocumentChangedSpecifies if a request is required when the associated document is modified.
EmailThe email address of the user in the starter position.
DescriptionA description of the starter position, typically the full name of the user.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
DocumentsA list of documents associated with the starter position.
CachedDMObjectsThe cached document management objects related to the flow object.
WebNotificationOptionsGets or sets the web notification options.
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.
DoNotSendRequestIfProcessedIndicates whether requests should be avoided if already processed.
CalculateUsingHolidaysSpecifies if holidays should be considered in timeout calculations.
TimeoutDayThe number of days specified for the timeout duration.
CalculateUsingWorkingHoursDetermines if working hours should be used in timeout calculations.
NotificationOptionsGets or sets the push notification options.

Constructors

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

Methods

NameDescription
SendWebNotification(payloadType,userInfo,requestItem)Sends a web notification to a user.
GetStarterUserInfo()Retrieves the user information for the starter position.
SendMail(requestItem)Sends an email notification for the process request associated with the starter position.
Initialize()Initializes the starter position with default settings.
ToLiquid()Converts the starter position data into a format compatible with Liquid templates.
AddAttachment(value,type)Adds an attachment to the mail message.
SendPushNotification(userInfo,requestItem)Sends a push notification to a user.

Events

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