Skip to main content

Interface: BusinessRuleDateExpressionInput

Defined in: type/BusinessRuleDateExpressionInput.ts:5

Represents the input for a business rule date expression

Properties

date?

optional date?: string

Defined in: type/BusinessRuleDateExpressionInput.ts:12

Date value, use when the condition is one of: before, after


number?

optional number?: number

Defined in: type/BusinessRuleDateExpressionInput.ts:10

Numeric value, use when the condition is one of: beforeDaysFromToday, afterDaysFromToday, onDaysFromToday, beforeMinutesFromNow, afterMinutesFromNow, onMinutesFromNow, onDayOfWeek, onDayOfMonth, onMonthOfYear


operator

operator: BusinessRuleDateExpressionOperators

Defined in: type/BusinessRuleDateExpressionInput.ts:16

The operator used for this expression


path?

optional path?: string

Defined in: type/BusinessRuleDateExpressionInput.ts:23

Path to the field, can be used to add additional expressions and calculations on the field. Use $ to target the field's value. When omitted, the field's value is used. The expression will be used on the left-hand side of the operator. Can also be used to target a specific property in a complex expression's sub-expression. Check https://gorules.io/docs/rules-engine/expression-language/date-and-time for options.


string?

optional string?: string

Defined in: type/BusinessRuleDateExpressionInput.ts:14

Time value in HH:mm:ss format, use when the condition is one of: onTime, beforeTime, afterTime