Fluent Commerce Logo
Docs
Sign In

Identify Inventory Failed Events

How-to Guide

Authors:

Kirill Gaiduk, Holger Lierse, Girish Padmanabha

Changed on:

15 Mar 2024

Key Points

  • Detect Inventory problems or anomalies with the Total Failures card on the Sources Dashboard.
  • Identify the specific failure events with advanced filtering on the Events page. 
  • Understand the what, where, and why of the event failure by using the Event Details Drawer.

Steps

Step arrow right icon1. Understand the current state of Inventory Updates.

Navigate to the Sources Dashboard.

No alt provided

Step arrow right icon2. Detect Inventory problems or anomalies.

Monitor the Total Failures card.

No alt provided

The Total Failures card value reflects the aggregated Metrics data:

  • Events with
    `FAILED`
    and
    `NO_MATCH`
    statuses;
  • Of the Inventory domain Entity types:
    `INVENTORY_CATALOGUE`
    ,
    `INVENTORY_POSITION`
    ,
    `INVENTORY_QUANTITY`
    ,
    `VIRTUAL_CATALOGUE`
    ,
    `VIRTUAL_POSITION`
    , and
    `BATCH`
    ;
  • Excluding data with
    `internal`
    source label.

For more details, check the Labels section of the Metrics usage for Platform Observability.


Step arrow right icon3. Identify the specific Inventory failure events.

Click the Total Failures card link, which will redirect to the Events page.

No alt provided

 The Events Search Results are pre-filtered with:

  • Event status:
    `FAILED`
    &
    `NO_MATCH`
    ;
  • Root entity type:
    `INVENTORY_CATALOGUE`
    &
    `VIRTUAL_CATALOGUE`
    .

Step arrow right icon4. Identify the events that require deeper analysis.

Inspect the Events Search Results table.

No alt provided

Step arrow right icon5. Get more information about the specific event.

Click the Event column value link to open the Event Details Drawer. Inspect the DETAILS and CONTEXT sections.

No alt provided

Step arrow right icon6. Understand what, where, and why it happened.

Scroll down to the Event Details Drawer BODY section to inspect the attributes providing the necessary information for the problem understanding and remediation, like:

  • error
    `code`
    (available for
    `FAILED`
    events only);
  • error
    `message`
    ;
  • `lastRuleSet`
    ;
  • `lastRule`
    ;
  • `entityStatus`
    (available for
    `NO_MATCH`
    events only);
  • `closeMatches`
    (available for
    `NO_MATCH`
    events only).
No alt provided

Step arrow right iconExplanation through an Example

Failed Events Identification is an initial part of the Inventory Processing monitoring to enable users to identify the specific Inventory Events that have failed and provide visibility into why those events have failed. The following example for Inventory Update (via the customer’s request based on Point Of Sale (POS) data) is intended to serve as a reference for the Inventory Failed Events Identification process.

1. The current state of the Inventory Stock-On-Hand is 25 pcs:

No alt provided

2. Current state of the recent (last 30 min) Inventory Updates:

No alt provided

3. Incorrect Inventory Update customer’s request based on Point Of Sale (POS) data is sent.

1{
2    "retailerId": "3353",
3    "entityRef": "DEFAULT:33533",
4    "name": "InventoryChanged",
5    "entityType": "INVENTORY_CATALOGUE",
6    "rootEntityType": "INVENTORY_CATALOGUE",
7    "rootEntityRef": "DEFAULT:33533",
8    "entitySubtype": "DEFAULT",
9    "type": "NORMAL",
10    "source": "POS",
11    "attributes": {
12        "inventoryPosition": {
13            "retailerId": "3353",
14            "locationRef": "F_1686296685026",
15            "productRef": "AH8050-F_1686296685026-96",
16            "qty": "10"
17        }
18    }
19}

Language: plain_text

Name: Sample incorrect POS Inventory Update request

Description:

POS Inventory Update request

4. The Inventory Update Failure occurred is displayed on the Sources Dashboard:

No alt provided

5. The user is redirected to the pre-filtered Events page on Total Failures link click:

No alt provided

6. The Event Details Drawer is opened on Event column link click:

No alt provided

7. Fixed POS Inventory Update customer’s request is sent.

1{
2    "retailerId": "3353",
3    "entityRef": "DEFAULT:3353",
4    "name": "InventoryChanged",
5    "entityType": "INVENTORY_CATALOGUE",
6    "rootEntityType": "INVENTORY_CATALOGUE",
7    "rootEntityRef": "DEFAULT:3353",
8    "entitySubtype": "DEFAULT",
9    "type": "NORMAL",
10    "source": "POS",
11    "attributes": {
12        "inventoryPosition": {
13            "retailerId": "3353",
14            "locationRef": "F_1686296685026",
15            "productRef": "AH8050-F_1686296685026-96",
16            "qty": "10"
17        }
18    }
19}

Language: json

Name: Sample POS Inventory Update request

Description:

POS Inventory Update request

8. The Inventory Update is reflected on the Sources Dashboard:

No alt provided

9. The Inventory Stock-On-Hand is successfully updated to 10 pcs:

No alt provided
Kirill Gaiduk

Kirill Gaiduk

Contributors:
Holger Lierse
Girish Padmanabha

Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.

Fluent Logo