Rule Inspector

Debug GLPI rules with full transparency

FreeGLPI 10, 11 and 12

How it works

On the ticket itself, one click evaluates the active business rules and shows, rule by rule, what the ticket meets, what fails and the status of each one.

Ticketclick on Query rules
Business rulesactive, in ranking order
Rule Inspectorevaluates without changing the ticket
Criteriamet and unmet
Applied or applicable
Nearly applicable
Not applicable
Status of each rule
Filter by status
CSV export
History tab
Result

The problem

GLPI business rules decide the ticket's category, group and technician. When a ticket does not get the expected value, finding out why means opening one rule after another.

What the module does

The module adds the Rules Inspector tab to the ticket. With one click on Query rules, it evaluates the active ticket business rules and shows, rule by rule, which criteria the ticket meets, which ones fail and the configured actions, with a link to open the rule in GLPI.

Each rule gets a status: applicable, when the ticket meets the criteria; nearly applicable, when it meets at least 80% of them; 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.

How you stay in control

In the module settings, the Test tab runs the same query from a ticket number, and the History tab gathers the most recent evaluations. You adjust the “nearly applicable” threshold, filter the result by status and export it to CSV. Access is granted per profile in the NexTool permission matrix. The module is free and works on GLPI 10, 11 and 12.

How to get it running

  1. Query the ticket's rulesIn the ticket's Rules Inspector tab, click Query rules. In the module settings, the Test tab does the same from the ticket number.
  2. See it rule by ruleThe 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.
  3. Adjust and check againOpen 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.

Want the step-by-step with screenshots and details? Read the full article on the blog

What changes in your operation

The reason shows up on the ticket itself, with no test ticket: you open the rule from the link, adjust it and run the query again.

Features

Rules Inspector tab in the ticket

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

One-click query

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

Criteria highlighted in color

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

Actions and a link to the rule

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

Status, filter and CSV export

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

Test tab and History tab

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

What customers say

Do you use this module too? Leave a review

Rule Inspector
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

ColombiaElvis SuarezVerified customerDevElvis Suarez

See it in action

A quick tour of what the plugin does in practice, in a video and a gallery of screenshots.

Start using Rule Inspector

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

Free download Read full article Version history
Works well with

Populate user fields automatically through GLPI rules

Adds assignment actions (Location, Supervisor, Category, User title, and group as manager or delegate) to GLPI's authorization rules engine, with no core edits.

Rule Extender
Need help?