Monitor the Total Failurescard.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`;
Use available filters with multi-select input to narrow the Events Search Results if needed. For example:Apply the Category filter with `EXCEPTION` & `ERROR` values selected to filter out the events of any other category.Click the SEARCH button to apply the filters selected to the Events Search Results.
4. Identify the events that require deeper analysis.
Click the Event column value link toopen the Event Details Drawer. Inspect the DETAILS and CONTEXT sections.
6. 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).
Info
`closeMatches`attribute shows all the Rulesets (including Error messages and their Triggers) with the `name` equal to the "target" Ruleset in the following "not-matching-by" order:
`type` (of the entity);
`subType` (of the entity);
`eventType`;
`triggers`.
Explanation 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:2. Current state of the recent (last 30 min) Inventory Updates:3. Incorrect Inventory Update customer’s request based on Point Of Sale (POS) data is sent.
4. The Inventory Update Failure occurred is displayed on the Sources Dashboard:
Warning
The state of the Inventory Stock-On-Hand remains unchanged (25 pcs) because of the Inventory Update failure:
5. The user is redirected to the pre-filtered Events page on Total Failures link click:6. The Event Details Drawer is opened on Event column link click:
Received information analysis
The reason for the failure is identified with the exception message: non-existing Inventory Catalogue.
7. Fixed POS Inventory Update customer’s request is sent.