FlowSetDocumentId
Represents a workflow step for setting unique document IDs using various assignment methods.
Properties
| Name | Description |
|---|---|
| Caption | The caption dictionary representing localized captions for the flow object. |
| TemplateName | The name of the template used for generating the document ID. |
| TemplateId | The identifier of the template used for generating the document ID. |
| Key | A unique identifier for the workflow step. |
| VariableName | The name of the variable containing the document ID. |
| Name | Name for the workflow step. |
| WorkflowCodeInstance | The workflow code instance associated with the flow object. |
| CachedDMObjects | The cached document management objects related to the flow object. |
| TypeCode | The type code associated with the flow object. |
| AssignType | Defines the type of ID assignment, such as from an object or a template. |
| TargetObjectName | The name of the target object where the document ID will be set. |
Constructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| SetUniqueId(flowDocument) | Assigns a unique ID to the specified FlowDocument instance. |
| SetDocumentId() | Sets the document ID for the target object based on the specified assignment type. |
| Initialize() | Initializes the step with default settings. |
Events
| Name | Description |
|---|---|
| OnAfterExecution(sender, args) | Occurs after the execution of the workflow step. |
| OnBeforeExecution(sender, args) | Occurs before the execution of the workflow step. |