ForwardIfPickupLocationValid
Rule
Changed on:
8 Aug 2025
Overview
The rule sends an event if the pickup location is part of the network specified and matches the specified location status.| Plugin Name | Order Reference Module |
|---|---|
| Namespace | [[account.id]].order |
UI Description
Sends event “eventName”if the pickup location is inside of the network “networkRef” and in the status “locationStatuses”.
Accepts
- ORDER
- FULFILMENT_CHOICE
Actions
- Sends an event if the pickup location (
`pickupLocationRef`) exists and it is part of the eligible network.
Rule parameters
| Parameter | Description |
| eventName | The name of the event to be triggered |
| networkRef | The network ref from which the locations will be retrieved |
| locationStatuses | The location statuses which will be considered |
Event attributes
This rule does not directly identify any event attributes.
Exceptions
This rule does not directly throw any exception.
Configuration example
1 {
2 "name": "{{account}}.order.ForwardIfPickupLocationValid",
3 "props": {
4 "locationStatuses": ["ACTIVE"],
5 "networkRef": "{{network.ref}}",
6 "eventName": "ProcessOrder"
7 }
8 }