Base class for a validation rule checked against one of a lead's fields when a TaskOutcome is selected on task completion. Concrete subclasses (StringTaskOutcomeFieldValidation, NumericTaskOutcomeFieldValidation) implement checkValid to test the field's current value and return a validation failure message, or null if the value is valid.


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.

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