Fluent Commerce Logo
Docs
Sign In

SendEventOnVerifyingConsignment

Rule

Changed on:

28 Nov 2023

Overview

The verifies if the incoming has the label URL and the status from input parameter is a success or failure and sends an .

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} on verifying the consignment {BookingStatus}.

Accepts

  • CONSIGNMENT

Actions

  • This rule produces and sends an event eventName for consignment.

Rule parameters

Parameter

Description

eventName

The name of to be triggered.

BookingStatus

The status of booking to verify.

Event attributes

This does not directly identify any attributes.

Exceptions

This will throw an RubixException: 400

  • if couldn't find the name of event `eventName` to be triggered
  • if couldn't find the status of consignment booking `BookingStatus`

Configuration example

1{
2  "name": "<ACCOUNTID>.order.SendEventOnVerifyingConsignment",
3  "props": {
4    "eventName":"ConsignmentBooked",
5    "BookingStatus":"LODGED"
6  }
7}

Version History

2023-08-03

v1.0.0

refers to