IfPropertyIsGreaterThan
Changed on:
23 Apr 2024
Overview
Conditionally trigger another Ruleset when the specified entity field or event attribute is greater than the provided value.
An example of this includes pushing an order through a fraud-check flow only when the
`totalPrice`
`100`
Plugin Name | Core Reference Module |
---|---|
Namespace | {{accountId}}.core |
The Core Reference Module is a foundational Reference Module. It provides a base set of general purpose Rules that other Modules are built upon or that can be included in your own Workflows. Extensible by design, use this Module as a base to build a solution for the needs of your customers.
UI Description
If {jsonpath} is more than {value}, do {eventName}
Accepts
- All Orchestration Entities
Actions
- This Rule conditionally produces a SendEventAction
Rule parameters
Name | Type | Description |
|
| The path to the value being compared, see JsonPath. |
|
| Value to compare against. |
|
| Name of the event to send if the check passes. |
Configuration example
1{
2 "name": "[account].core.IfPropertyIsGreaterThan",
3 "props": {
4 "jsonpath": "totalPrice",
5 "value": "100",
6 "eventName": "CheckFraud"
7 }
8}
Language: json
Detailed Technical Description
This Rule will conditionally produce a SendEventAction, or a custom Audit Event if the Rule condition is not met.
The Rule condition is defined by the
`jsonPath`
`value`
`jsonPath`
`jsonPath`
`value`
`eventName`
Workflow Builder (Modeller) Screenshot
Version History
v23.8.1
Refers to the Product Release Version