Skip to main content

FlowSetDocumentId

Represents a workflow step for setting unique document IDs using various assignment methods.

Properties

NameDescription
VariableNameThe name of the variable containing the document ID.
TemplateNameThe name of the template used for generating the document ID.
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.
AssignTypeDefines the type of ID assignment, such as from an object or a template.
TypeCodeThe type code associated with the flow object.
TargetObjectNameThe name of the target object where the document ID will be set.
NameName for the workflow step.
CaptionThe caption dictionary representing localized captions for the flow object.
TemplateIdThe identifier of the template used for generating the document ID.

Constructors

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

Methods

NameDescription
SetDocumentId()Sets the document ID for the target object based on the specified assignment type.
Initialize()Initializes the step with default settings.
SetUniqueId(flowDocument)Assigns a unique ID to the specified FlowDocument instance.

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.