Fluent Commerce Logo
Docs
Sign In

ForwardEventByFulfilmentChoiceType

Rule

Changed on:

2 Jan 2024

Overview

The rule sends an event with a proper name if the fulfilment choice has a definite type.

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 event “eventName” if the fulfilment choice has a type from “type”.

Accepts

  • ORDER
  • FULFILMENT
  • ARTICLE
  • FULFILMENT_CHOICE

Actions

  • Sends event with proper event name of fulfilment choice if fulfilment choice type has definite name

Rule parameters

Parameter

Description

eventName

The name of the event to be triggered

typeName

The delivery type to check

Event attributes

This rule does not directly identify any event attributes.

Exceptions

This rule does not directly throw any exception.

Configuration example

1{
2  "name": "<ACCOUNTID>.order.ForwardEventByFulfilmentChoiceType",
3          "props": {
4            "eventName": "CheckOrderCoordinates",
5            "type": "HD"
6          }
7}

Language: json

Version History

2023-08-04

v1.0.0

refers to plugin