Skip to main content

FlowState

Represents a workflow state step, including options for state management and history visibility.

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.
TypeCodeThe type code associated with the flow object.
NameName for the workflow step.
StateThe current state of the workflow step.
ShowInFlowHistorySpecifies if the state should appear in the workflow history.
CaptionThe caption dictionary representing localized captions for the flow object.

Constructors

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

Methods

NameDescription
Initialize()Initializes the state step with default settings.

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.