Fluent Commerce Logo
Docs
Sign In

SendEventOnVerifyingAllFulfilmentChoiceStates

Rule

Changed on:

2 Jan 2024

Overview

The sends if all fulfilment choices of entityType have statuses from the specified list.

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 event ”eventName” to event.entityType (order or fulfilment) if all fulfilmentChoices of event.entityType are in statuses from “status”.

Accepts

  • ORDER
  • FULFILMENT

Actions

  • Sends event with proper name if all fulfilmentChoices of entityType have status matched with list of {status}.

Rule parameters

Parameter

Description

eventName

The name which will be sent to or fulfilment

status

The fulfilment choice statuses to verify

Event attributes

This does not directly identify any attributes.

Exceptions

This may result in following exceptions:

OmsRubixException: 400, "Exception occurred while executing".

Configuration example

1{
2  "name": "<ACCOUNTID>.order.SendEventOnVerifyingAllFulfilmentChoicesStates",
3    "props": {
4        "eventName": "VerifyAllFulfilmentChoicesStates",
5        "status": [
6            "COMPLETE"
7        ]
8    }
9}

Version History

2023-08-03

v1.0.0

refers to