SendEventForFulfilmentChoiceOnVerifyingRejections
Changed on:
27 Sept 2024
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 |
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
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}
Language: json
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`
Version History
v1.0.0
Initial release