Fluent Commerce Logo
Docs
Sign In

ForwardIfProposedFulfilmentNotPresent

Rule

Changed on:

2 Jan 2024

Overview

This rule forwards the input event if a proposed fulfilment is not 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 not present.

Accepts

  • ORDER

Actions

  • This rule forwards the input event with name eventName if a proposed fulfilment proposedFulfilment is not 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.ForwardIfProposedFulfilmentNotPresent",
3  "props": {
4    "eventName": "CreateRejectedFulfilment",
5    "proposedFulfilment": "proposedFulfilment"
6  }
7}

Language: json

Version History

2023-08-04

v1.0.0

refers to plugin