IfPropertyIsBetween
Rule
Changed on:
6 Aug 2025
Overview
Conditionally trigger another Ruleset when the specified Entity field or Event attribute is between the provided values.| Plugin Name | Core Reference Module |
|---|---|
| Namespace | [[account.id]].core |
- that other Modules are built upon
- or that can be included in your own Workflows
UI Description
If {jsonpath} is between {lower} and {upper}, do {eventName}
Accepts
- All Orchestration Entities
Actions
- This Rule conditionally produces a SendEventAction
Rule parameters
| Name | Type | Description |
`jsonpath` | `JsonPath` | The path to the value being compared, see JsonPath. |
`lower` | `Object` | Value to compare lower bounds against. |
`upper` | `Object` | Value to compare upper bounds against. |
`eventName` | `String` | Name of the Event to send if the check passes. |
Event attributes
The expected Event attribute can be defined with the
`jsonpath` Rule parameter value.Exceptions
- This Rule throws a
`PropertyNotFoundException`when the Rule parameter(s) is not provided.
Configuration example
1{
2 "name": "[[account.id]].core.IfPropertyIsBetween",
3 "props": {
4 "jsonpath": "customer.attributes.byName.lifetimeValue",
5 "lower": "1000",
6 "upper": "5000",
7 "eventName": "SendLoyaltyDiscount10ForNextOrder"
8 }
9}Detailed Technical Description
This Rule will conditionally produce a SendEventAction.The Rule condition is defined by the specified`jsonpath` and `value` properties. The `jsonpath` Rule parameter may identify:- A field on an Entity
- Or an Event attribute
`jsonpath` property is between the `lower` and `upper` values provided, the Event will be produced for the same Context as the currently executing Event, but with a new name defined by the `eventName` parameter.If the specified `jsonpath` property matches the `lower` or `upper` value provided, the Event will not be produced.Workflow Builder (Modeller) Screenshot

Version History
See previous versions
2023-08-01