Syntax
evaluateRule(rule)
Description
Evaluates a condition based on a rule configuration that follows theleft
, operator
, right
pattern. This function works similarly to the If Node. The left
value is compared with the right
value using the specified operator (for example, !=
, >
, includes
). If the condition evaluates to true
, the associated logic or transition is executed.
Parameters:
rule
:IRule
– a rule configuration object.
IRule Object Structure
IRule Object Structure
boolean
– whether the condition of the rule is met.