IfPropertyNotEquals
Changed on:
7 Feb 2025
Overview
Conditionally trigger another Ruleset when the specified Entity field or Event attribute does not match the provided value.
This is typically used as an "else" case for the IfPropertyEquals Rule.
Plugin Name | Core Reference Module |
---|---|
Namespace | [[account.id]].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 not {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. |
Event attributes
The expected Event attribute can be defined with the
`jsonpath`
Exceptions
- This Rule throws a when the Rule parameter(s) is not provided.
`PropertyNotFoundException`
Configuration example
1{
2 "name": "[[account.id]].core.IfPropertyNotEquals",
3 "props": {
4 "jsonpath": "fulfilmentChoice.deliveryType",
5 "value": "EXPRESS",
6 "eventName": "DefaultSourcingStrategy"
7 }
8}
Language: json
Detailed Technical Description
This Rule will conditionally produce a SendEventAction.
The Rule condition is defined by the specified
`jsonpath`
`value`
The
`jsonpath`
- A field on an Entity
- Or an Event attribute
If the specified
`jsonpath`
`value`
`eventName`
If the specified
`jsonpath`
`null`
Workflow Builder (Modeller) Screenshot

Version History
v25.2.17
This Rule:
- NO longer produces a custom Audit Event if the Rule condition is not met
- Evaluates to false when the specified property is missing (i.e.,
`jsonpath`
).`null`
The Rule Version refers to the Product Release Version.
v25.1.20
This Rule has been fixed to support JsonPath provision for Event attributes.
The Rule Version refers to the Product Release Version.
v23.8.1
Refers to the Product Release Version