ForwardIfMaxSplitLimitReached
Changed on:
2 Jan 2024
Overview
The rule forwards the input event if the split limit is reached for the order, excluding fulfilment with one of the given statuses.
Plugin Name | Order Reference Module |
---|---|
Namespace | [[account.id]].order |
The Order Reference Module is the foundation for order-related implementations. It provides reference workflows for click & collect, home delivery and mixed baskets and those needed to build your own. Extensible by design, use this Module as a base to build a solution to your customers' needs.
UI Description
Forwards the source event if the split limit is reached for the order, excluding fulfilment with one of the given statuses.
Accepts
- ORDER
Actions
- This rule forwards the input event with name eventName if the split limit maxSplitLimit is reached for the order, excluding fulfilment with one of the given statuses defined in parameter excludedFulfilmentStatuses.
Rule parameters
Parameter | Description |
eventName | The name of the source event to be triggered. |
emaxSplitLimit | The maximum number of shipments allowed to fulfill an order. |
excludedFulfilmentStatus | The list of excluded fulfilment statuses. |
Event attributes
This rule does not directly identify any event attributes.
Exceptions
This rule does not explicitly identify any exceptions.
Configuration example
1{
2 "name": "<ACCOUNTID>.order.ForwardIfMaxSplitLimitReached",
3 "props": {
4 "eventName": "CreateRejectedFulfilment",
5 "maxSplitLimit": "1",
6 "excludedFulfilmentStatuses": "CREATED"
7 }
8}
Language: json
Version History
v1.0.0
refers to plugin