Rule Inspector

Debug GLPI rules with full transparency

GLPI business rules are powerful, but when a ticket does not get the expected category, group or technician, finding out why means opening one rule after another. Rule Inspector adds the Rules Inspector tab to the ticket: one click on Query rules evaluates the active ticket business rules and shows, rule by rule, which criteria the ticket meets, which ones fail and the configured actions.

FreeGLPI 10, 11 and 12

Features

Each rule gets a status: applicable, when the ticket meets the criteria; nearly applicable, when it meets at least 80% of them (an adjustable threshold); applied, when the ticket already has the value the rule assigns; or not applicable. The evaluation uses the ticket's current data, follows the ranking order, includes the recursive rules of the parent entities and changes nothing in the ticket.

In the module settings, the Test tab runs the same query from a ticket number, and the History tab gathers the most recent evaluations. The result can be filtered by status and exported to CSV. Rule Inspector is free, works on GLPI 10, 11 and 12, and access is granted per profile in the NexTool permission matrix.

Rules Inspector tab in the ticket with the evaluated business rules, in ranking order

One-click query on the ticket itself, with no test ticket and no change to the ticket

Met and unmet criteria highlighted in colour, with the field and expected value of each one

Configured actions of each rule and a link to open the rule in GLPI

Status per rule (applied, applicable, nearly applicable or not applicable), with filter and CSV export

Free, with a Test tab by ticket number and a History tab of evaluations

How it works

Step 1

Query the ticket's rules

In the ticket's Rules Inspector tab, click Query rules. In the module settings, the Test tab does the same from the ticket number.

Step 2

See it rule by rule

The module evaluates the active ticket business rules of the ticket's entity and the recursive ones of the parent entities, in ranking order, and shows the met and unmet criteria and the actions of each rule.

Step 3

Adjust and check again

Open the rule from the link, make the change and click Run query again. Each query is recorded in the History tab, and the result can be exported to CSV.

See it in action

A quick tour of what the plugin does in practice.

Video demo coming soon.

Image gallery

What customers say

Solo tengo que decir que este plugin hace justo lo que debe, en general GLPI no hace todo bien pero con estos ajustes lo llevamos al siguiente nivel. Este plugin me gusta mucho porque me permite revisar plenamente la ejecucion de las reglas sobre el mismo ticket

Testimonial in its original language

Elvis SuarezDevElvis Suarez

Start using Rule Inspector

View available plans or read the full article about this module.

View plans Read full article Download on GitHub
Need help?