Skip to main content

BusinessRuleStringExpression

Represents a business rule string expression

type BusinessRuleStringExpression implements IBusinessRuleExpression {
id: ID!
type: BusinessRuleExpressionTypes!
operator: BusinessRuleStringExpressionOperators!
string: String!
path: String
}

Fields

BusinessRuleStringExpression.id ● ID! non-null scalar

BusinessRuleStringExpression.type ● BusinessRuleExpressionTypes! non-null enum

BusinessRuleStringExpression.operator ● BusinessRuleStringExpressionOperators! non-null enum

BusinessRuleStringExpression.string ● String! non-null scalar

BusinessRuleStringExpression.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.

Interfaces

IBusinessRuleExpression interface

Interface for the BaseUser Type, where deferent types of BusinessRuleNodes derive from