Skip to main content

FlowCompare

Represents the FlowCompare class used for workflow comparisons.

Properties

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

Constructors

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

Methods

NameDescription
Initialize()Initializes the FlowCompare instance.
CompareOrganizationCode(code)Compares an organization code with the results list and returns the matching result.
CompareOrganizationId(id)Compares an organization ID with the results list and returns the matching result.
CompareDateValue(variableValue)Compares a date value with the results list using various comparison types and returns the matching result.
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.
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.
CompareBooleanValue(variableValue)Compares a boolean value with the results list using various comparison types and returns the matching result.
CompareStringValue(variableValue)Compares a string value with the results list using various comparison types and returns the matching result.

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.