Skip to main content

BusinessRuleArrayExpressionInput

Input for creating array-based expressions with collection operations and element validation

input BusinessRuleArrayExpressionInput {
operator: BusinessRuleArrayExpressionOperators!
string: String
number: Float
path: String
}

Fields

BusinessRuleArrayExpressionInput.operator ● BusinessRuleArrayExpressionOperators! non-null enum

Logical operator defining how the condition should be applied to array elements

BusinessRuleArrayExpressionInput.string ● String scalar

String value to match against array elements (used with 'contains' operator for simple value matching)

BusinessRuleArrayExpressionInput.number ● Float scalar

Numeric value to match against array elements (used with 'contains' operator for simple value matching)

BusinessRuleArrayExpressionInput.path ● String scalar

Path to the field, can be used to add additional expressions and calulations 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/string for options.

Member Of

BusinessRuleExpressionUnionInput input