RETGAS
All rules
Times Validation rules engine

The start time comes before the end time

A single typo in the times is enough for the distributor to return the report. The rule catches it before it leaves the field.

A rule in use at inspection bodies; names changed

At the end of a long day, the inspector enters 3:40 p.m. as the start time and 3:10 p.m. as the end time. Nobody notices until the distributor returns the report.

Fixing it later takes a call, reopening the report and sometimes another visit. On site it takes ten seconds.

The rule

Checks
The Start time and End time fields of the form.
Blocks when
The start time is equal to or later than the end time.
Message to the inspector
“The start time must be earlier than the end time. Start time: 15:40, end time: 15:10.”
Applies to
Forms that have both times.

Test cases

This is how it’s simulated before saving: if a case doesn’t give the expected result, nothing is saved.

Situation Result
Start 9:00 · end 9:45 Passes
Start 9:45 · end 9:00 Blocks
Start 9:00 · end 9:00 Blocks

Ask your assistant for it

With the RETGAS connector in Claude, all you have to write is:

«Create a rule that blocks the report if the start time is not earlier than the end time, and make the message show the inspector both times.»

Why it matters

  1. The message includes the values

    The inspector sees the two times they entered. No guessing what is wrong.

  2. One rule, every form

    It is linked to every form that has both times. If you create a new form tomorrow, you link it and that’s it.

The engine flags and the person decides. Rules only run when they’re active and linked to the form. How they’re configured

It is the simplest rule and one of the ones that prevents the most returns. That’s why almost every inspection body starts here.

Other examples

Personalized demo · response < 2 business h

Ready to optimize your operation?

In 20 min: how to cut admin time by 60%. No commitment.

  • ✓ Walkthrough with your real case
  • ✓ Quote based on your volume
  • ✓ Deployment in 1–2 weeks
Follow us: Facebook Instagram WhatsApp

Book your demo

5 fields. We'll reach out on WhatsApp the same day.

By submitting you accept our privacy policy.

Message us on WhatsApp