Fluent Commerce Logo
Docs
Sign In

SendEventForFulfilmentChoiceOnVerifyingRejections

Rule

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 NameOrder 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

2024-10-08

v1.0.0

Initial release

Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.

Fluent Logo