Interface ITransitionConditionBuilder
OptimaJet.Workflow.Core.Model.Builder.ITransitionConditionBuilder
Represents a builder for configuring a transition condition.
Namespace: OptimaJet.Workflow.Core.Model.Builder
public interface ITransitionConditionBuilder : ITransitionConditionsBuilder, ITransitionBuilder, IProcessDefinitionBuilderMethods
ITransitionConditionBuilder Inverted() #Sets the condition inversion flag to true for the current condition.
Returns
Type
Description
ITransitionConditionBuilderThe 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
ITransitionConditionBuilderThe 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
parameterStringThe string value to set as the action parameter.
Returns
Type
Description
ITransitionConditionBuilderThe 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
parameterObjectThe object to serialize and set as the action parameter.
Returns
Type
Description
ITransitionConditionBuilderThe current instance of ITransitionConditionBuilder with the serialized action parameter set.
ITransitionConditionBuilder ReturnTrueOnPreExecution() #Configures the condition to return true during pre-execution.
Returns
Type
Description
ITransitionConditionBuilderThe 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
ITransitionConditionBuilderThe 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
ITransitionConditionBuilderThe current instance of ITransitionConditionBuilder with the result set to be calculated on pre-execution.