Fluent Commerce Logo
Docs
Sign In

Changed on:

28 Nov 2023

Overview

Forward the incoming event with event name {eventName}.

Plugin NameInventory Reference Module
Namespace[[account.id]].globalinventory

The Inventory Reference Module is the foundation for inventory related implementations. It provides reference Workflows for inventory ingestion and processing. Extensible by design, use this Module as a base to build a solution to the needs of your customers.

The Inventory Module includes the following areas:

  • Product Catalogue workflow
  • Inventory Catalogue workflow
  • Control Group workflow
  • Virtual Catalogue workflow

UI Description

Forward the incoming event with event name {eventName}.

Accepts

  • PRODUCT_CATALOGUE
  • CATEGORY
  • PRODUCT
  • INVENTORY_CATALOGUE
  • INVENTORY_POSITION
  • INVENTORY_QUANTITY
  • VIRTUAL_CATALOGUE
  • VIRTUAL_POSITION

Actions

  • This rule produces a SendEventAction that will send an inline event with {eventName}.

Rule parameters

Parameter

Description

eventName

The name of event to be triggered

Event attributes

Not Applicable for this rule.

Exceptions

If 

`eventName`
 rule property is not set in the workflow, a PropertyNotFoundException will be thrown.

Configuration example

1{
2  "name": "{{AccountId}}.globalinventory.Forward",
3  "props": {
4    "eventName": "CheckProductStatusChange"
5  }
6}

Language: json

Detailed Technical Description

This rule does not parse and process the event attributes. It only produces a SendEventAction which will send an inline event with a new 

`{eventName}`
 in order to trigger the next workflow ruleset. Except the new 
`eventName`
, all the existing event information and attributes will stay the same and be passed onto the new ruleset.

Version History

2023-08-02

v2.0.0

refers to plugin