SendEventForFulfilmentChoiceOnVerifyingRejections
Rule
Changed on:
8 Aug 2025
Overview
This rule triggers an event to the fulfillment choice if no items were rejected during the Pack step.| Plugin Name | Order Reference Module |
|---|---|
| Namespace | [[account.id]].order |
UI Description
Sends an event {eventName} to the fulfilment choice if no fulfilment items are rejected during the Pack step.
Accepts
- Fulfilment
Actions
- This Rule conditionally produces a
`SendEventAction`
Rule parameters
| Name | Type | Description |
| eventName | String | Name of the event to send if the check passes.The event to trigger if the check passes (e.g., "FulfilmentAwaitingCollection"). |
Event attributes
This rule does not specify any event attributes.
Exceptions
This rule does not produce any exceptions.
Configuration example
1{
2 "name": "[[account.id]].order.SendEventForFulfilmentChoiceOnVerifyingRejections",
3 "props": {
4 "eventName": "FulfilmentAwaitingCollection"
5 }
6}Detailed Technical Description
This rule generates a SendEventAction if there are no rejections during the Pack step. It will check the fulfilment for rejections, excluding those marked with the default reject reason (typically assigned during the Pick step). If the fulfilment has no rejections, it triggers the defined event (`eventName`).