FilterLocationsByRadius
Rule
Changed on:
8 Aug 2025
Overview
The rule finds locations which are outside the radius provided in the event attribute.| Plugin Name | Order Reference Module |
|---|---|
| Namespace | [[account.id]].order |
UI Description
Filters locations which are outside of the radius provided in the event attribute. Sends event {eventName}.
Accepts
- ORDER
- FULFILMENT_OPTIONS
Actions
- This rule finds locations which are outside the radius provided in the event attribute and forwards the input event with name eventName with location attribute
Rule parameters
| Parameter | Description |
| eventName | The event name triggered by this rule |
Event attributes
| Parameter | Description | Data Type | Required? |
| locations | The Map of location objects with distance property | Map | Required |
| attributes | The list of attributes. This rule needs `radius` attribute | List of Attributes | Optional |
Exceptions
This rule does not explicitly identify any exceptions.
Configuration example
1{
2 "name":"<ACCOUNTID>.order.FilterLocationsByRadius",
3 "props": {
4 "eventName":"UPDATE_ORDER"
5 }
6}