Validates that a lead field's value is a number within an optional minimum and maximum. A value that cannot be read as a number fails the rule. Written into a task outcome's validations list as a numeric-validation element, and checked when that outcome is selected on task completion.

Group: Journeys

Extends: TaskOutcomeFieldValidation


Properties

PropertyReturnsDescription
maxValueIntegerThe maximum allowed numeric value of the field.
minValueIntegerThe minimum allowed numeric value of the field.

Inherited from TaskOutcomeFieldValidation

Properties

PropertyReturnsDescription
fieldNameStringThe name of the lead field this rule validates.
requiredBooleanWhether the field must have a value for this rule to pass.

Methods

getFieldName()

Returns: String

The name of the lead field this rule validates.

getRequired()

Returns: Boolean

Whether the field must have a value for this rule to pass.


Methods

getMaxValue()

Returns: Integer

The maximum allowed numeric value of the field.

getMinValue()

Returns: Integer

The minimum allowed numeric value of the field.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.