Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Interface ITransitionConditionBuilder

OptimaJet.Workflow.Core.Model.Builder.ITransitionConditionBuilder

Represents a builder for configuring a transition condition.

public interface ITransitionConditionBuilder : ITransitionConditionsBuilder, ITransitionBuilder, IProcessDefinitionBuilder

Methods

ITransitionConditionBuilder Inverted() #
Sets the condition inversion flag to true for the current condition.

Returns

Type
Description
ITransitionConditionBuilder
The current instance of ITransitionConditionBuilder with the condition inversion flag set to true.
ITransitionConditionBuilder NotInverted() #
Sets the condition inversion flag to false for the current condition.

Returns

Type
Description
ITransitionConditionBuilder
The current instance of ITransitionConditionBuilder with the condition inversion flag set to false.
ITransitionConditionBuilder ConditionParameter(string parameter) #
Sets the action parameter for the current condition using a string value.

Parameters

Name
Type
Description
parameter
String
The string value to set as the action parameter.

Returns

Type
Description
ITransitionConditionBuilder
The current instance of ITransitionConditionBuilder with the action parameter set.
ITransitionConditionBuilder ConditionParameter(object parameter) #
Sets the action parameter for the current condition using an object value.

Parameters

Name
Type
Description
parameter
Object
The object to serialize and set as the action parameter.

Returns

Type
Description
ITransitionConditionBuilder
The current instance of ITransitionConditionBuilder with the serialized action parameter set.
ITransitionConditionBuilder ReturnTrueOnPreExecution() #
Configures the condition to return true during pre-execution.

Returns

Type
Description
ITransitionConditionBuilder
The current instance of ITransitionConditionBuilder with the result set to return true on pre-execution.
ITransitionConditionBuilder ReturnFalseOnPreExecution() #
Configures the condition to return false during pre-execution.

Returns

Type
Description
ITransitionConditionBuilder
The current instance of ITransitionConditionBuilder with the result set to return false on pre-execution.
ITransitionConditionBuilder CalculateOnPreExecution() #
Configures the condition to calculate the result during pre-execution without setting a fixed true/false result.

Returns

Type
Description
ITransitionConditionBuilder
The current instance of ITransitionConditionBuilder with the result set to be calculated on pre-execution.