Skip to main content

FlowDocumentSynchronizer

Provides functionality to synchronize flow documents with configurable options.

Properties

NameDescription
TargetTypeDefines the type of the target in the synchronization process.
TargetTableNameThe name of the table in the target document.
KeyA unique identifier for the workflow step.
TargetConnectionNameThe name of the connection for the target document.
FieldsRepresents a list of fields used for mapping between source and target documents.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
CachedDMObjectsThe cached document management objects related to the flow object.
HideSystemFieldsDetermines whether system fields are hidden during synchronization.
TypeCodeThe type code associated with the flow object.
ValueTypeIndicates the type of the value being synchronized.
ValueSourceTypeIndicates the source type of the value in the synchronization process.
ResumeOnErrorIndicates whether the synchronization process should continue when an error occurs. (Deprecated)
ErrorDescriptionObjectNameSpecifies the object name for error descriptions during synchronization. (Deprecated)
ErrorOptionsDefines error-related options for the API step.
NameName for the workflow step.
ValueThe actual value being synchronized between source and target.
SourceDocumentObjectNameThe object name of the source document for synchronization.
SourceTypeDefines the type of the source in the synchronization process.
TargetQueryNameThe name of the query used for the target document.
SourceDetailNameThe detail name associated with the source document.
TargetDocumentObjectNameThe object name of the target document for synchronization.
TargetDetailThe detail associated with the target document.
CaptionThe caption dictionary representing localized captions for the flow object.

Constructors

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

Methods

NameDescription
Synchronize()Performs the synchronization process between source and target documents.
Initialize()Initializes the flow document synchronizer with the required 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.
Execute(sender, args)Occurs during the execution of the FlowDocumentSynchronizer step, triggering whenever an execution-related event occurs.

Generic Types

NameDescription
TPropertiesGeneric type of properties.