Fluent Commerce Logo
Docs

IfPropertyIsPresent

Rule

Changed on:

6 Aug 2025

Overview

Conditionally trigger another Ruleset when the specified Entity field or Event attribute is not null.
Plugin NameCore Reference Module
Namespace[[account.id]].core
The Core Reference Module is a foundational Reference ModuleIt 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 present, do {eventName}

Accepts

  • All Orchestration Entities

Actions

Rule parameters

NameTypeDescription
`jsonpath``JsonPath`The path to the value being compared, see JsonPath.
`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

Configuration example

1{
2    "name": "[[account.id]].core.IfPropertyIsPresent",
3    "props": {
4        "jsonpath": "event.attributes.fraudCheckRequired",
5        "eventName": "CheckFraud"
6    }
7}

Detailed Technical Description

This Rule will conditionally produce a SendEventAction.The Rule condition is defined by the existence of the specified `jsonpath` property. The `jsonpath` Rule parameter may identify:
  • A field on an Entity
  • Or an Event attribute
If the specified `jsonpath` property exists, the Event will be produced for the same Context as the currently executing Event, but with a new name defined by the `eventName` Rule parameter.
Workflow Builder (Modeller) Screenshot
No alt provided

Version History