Fluent Commerce Logo
Docs
Sign In

SendEventForFulfilmentChoiceOnVerifyingRejections

Rule

Changed on:

27 Sept 2024

Overview

This triggers an to the choice if no items were rejected during the Pack step.

Plugin NameOrder Reference Module
Namespace[[account.id]].order

The is the foundation for order-related implementations. It provides reference workflows for , 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 to send if the check passes.

The to if the check passes (e.g., "FulfilmentAwaitingCollection").

Event attributes

This does not specify any attributes.

Exceptions

This 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 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 (`eventName`).

Version History

2024-10-08

v1.0.0

Initial release