FlowDepartment
Represents a workflow step for managing department-related operations.
Properties
| Name | Description |
|---|---|
| Caption | The caption dictionary representing localized captions for the flow object. |
| Id | Gets or sets the ID of the department. |
| ValueType | Gets or sets the type of the department value. |
| ValueOptionIsChanged | Indicates whether the value option has been changed. |
| Key | A unique identifier for the workflow step. |
| Code | Gets or sets the code of the department. |
| Name | Name for the workflow step. |
| Description | Gets or sets the description of the department. |
| 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. |
Constructors
| Name | Description |
|---|---|
| FlowDepartment(name, workflowData, workflowCodeInstance) | Constructor for the FlowDepartment class. Initializes a new instance of the FlowDepartment class. |
| FlowDepartment(name, workflowData, workflowCodeInstance) | Initializes a new instance of the FlowDepartment class. |
Methods
| Name | Description |
|---|---|
| SetConstantDepartment(id) | Sets the department as a constant using its ID. |
| SetConstantDepartment(department) | Sets the department as a constant using a department object. |
| SetManagerDepartment(sourceDepartment) | Sets the manager department based on a source department. |
| SetFromVariable(sourceVariable) | Sets the department based on a variable. |
| SetFromOther(sourceDepartment) | Sets the department from another department object. |
| SetFromFlowInitiator() | Sets the department based on the flow initiator. |
| SetFromPosition(sourcePosition) | Sets the department based on a position. |
| Initialize() | Initializes the FlowDepartment instance. |
| ToLiquid() | Converts the current object to a liquid-compatible representation. |
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. |