Skip to main content

FlowEnd

Represents the final step in a workflow, managing flow status updates and web notifications.

Properties

NameDescription
KeyA unique identifier for the workflow step.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
CachedDMObjectsThe cached document management objects related to the flow object.
UpdateFlowStatusAsFinishedIndicates whether the flow status should be updated as finished upon completion.
TypeCodeThe type code associated with the flow object.
WebNotificationOptionsDefines options for sending web notifications upon workflow completion.
NameName for the workflow step.
SetFlowStatusAsDeletedDetermines whether the flow status should be set as deleted.
CaptionThe caption dictionary representing localized captions for the flow object.

Constructors

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

Methods

NameDescription
SendFinishWebNotification(userInfo, requestItem)Sends a web notification to notify the completion of the workflow.
Initialize()Initializes the flow end step with necessary configurations.

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.