SendEventOnVerifyingAllFulfilmentChoiceStates
Changed on:
2 Jan 2024
Overview
The rule sends event if all fulfilment choices of entityType have statuses from the specified list.
Plugin Name | Order 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” 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 event name which will be sent to order or fulfilment |
status | The fulfilment choice statuses to verify |
Event attributes
This rule does not directly identify any event attributes.
Exceptions
This rule 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}
Language: json
Version History
v1.0.0
refers to plugin