Skip to main content

FlowCompare

Represents the FlowCompare class used for workflow comparisons.

Properties

NameDescription
CaptionThe caption dictionary representing localized captions for the flow object.
ResultTypeGets or sets the result type of the comparison.
SourceObjectTypeCodeGets or sets the type code of the source object.
KeyA unique identifier for the workflow step.
ComparisonValueTypeGets or sets the type of value used for comparison.
NameName for the workflow step.
SourcePropertyGets or sets the source property to be compared, in lowercase.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
ResultsGets or sets the list of comparison results.
CachedDMObjectsThe cached document management objects related to the flow object.
TypeCodeThe type code associated with the flow object.
SourceObjectNameGets or sets the name of the source object used in the comparison process.

Constructors

NameDescription
FlowCompare(name, workflowData, workflowCodeInstance)Creates an instance of the FlowCompare class.
FlowCompare(name, workflowData, workflowCodeInstance)Constructor for the FlowCompare class. Initializes a new instance of the FlowCompare class.

Methods

NameDescription
CompareDateValue(variableValue)Compares a date value with the results list using various comparison types and returns the matching result.
CompareOrganizationId(id)Compares an organization ID with the results list and returns the matching result.
CompareFlowInitiatorPosition()Compares the flow initiator's positions with the results list and returns the matching result.
CompareVariableValue<TValue,(variableValue)Compares a generic variable value with the results list and returns the matching result.
CompareStringValue(variableValue)Compares a string value with the results list using various comparison types and returns the matching result.
CompareOrganizationCode(code)Compares an organization code with the results list and returns the matching result.
CompareBooleanValue(variableValue)Compares a boolean value with the results list using various comparison types and returns the matching result.
Initialize()Initializes the FlowCompare instance.
CompareFlowInitiatorUser()Compares the flow initiator's user with the results list and returns the matching result.
CompareNumericValue(variableValue)Compares a numeric value with the results list using various comparison types and returns the matching result.

Events

NameDescription
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.