Fluent Commerce Logo
Docs
Sign In

ForwardIfProposedFulfilmentPresent

Rule

Changed on:

2 Jan 2024

Overview

The rule forwards the input event if a proposed fulfilment is present.

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

Forwards the source event if a proposed fulfilment is present.

Accepts

  • ORDER

Actions

  • This rule forwards the input event with name eventName if a proposed fulfilment proposedFulfilment is present.

Rule parameters

Parameter

Description

eventName

The name of the source event to be triggered.

Event attributes

Parameter

Description

Data Type

Required?

proposedFulfilment

The object of a proposed fulfilment.

Object

Optional


Exceptions

This rule does not explicitly identify any exceptions.

Configuration example

1{
2  "name": "<ACCOUNTID>.order.ForwardIfProposedFulfilmentPresent",
3  "props": {
4    "eventName": "CheckMaxSplitLimitReached",
5    "proposedFulfilment": "proposedFulfilment"
6  }
7}

Language: json

Version History

2023-08-03

v1.0.0

refers to plugin