Automation

Flow date conditions: before and after do not include the same date

A designer routes requests dated before a threshold, then is surprised when the threshold day goes elsewhere.

2 min readLast updated November 4, 2026
An operations specialist arranging a customer conversation workflow

A designer routes requests dated before a threshold, then is surprised when the threshold day goes elsewhere. The engine may be correct while the business intended through that day rather than before it.

Define three boundary cases first

Write examples before, on and after the threshold and assign intended branches. Inclusive dates need explicit supported comparisons and routing, not an assumed conversational meaning.

Taloo's current before and after date conditions use valid Y-m-d dates and exclude equality. They do not automatically interpret another local format or relative wording such as tomorrow.

Separate dates from timed appointments

A date without time cannot establish before nine or after a shift. Business-hour decisions need suitable design rather than an unstated timezone and time attached to a bare date.

Likewise, validating an answer as a date does not establish appointment availability or inclusion in an offer. See date-answer validation for that separate boundary.

Test the actual value source

Review whether input comes from session state or a persistent field and whether transformations preserve the expected format. A manually entered valid comparison does not prove that integration or customer data arrives identically.

Missing or invalid information needs an understandable result. Not before does not automatically mean after: the value may be equal or incomparable.

Keep the three boundary examples in acceptance alongside invalid input. This communicates the decision better than its operator label and avoids repeatedly shifting thresholds to fix behaviour that actually needed an equality or incomplete-information branch. Staff should be able to explain each resulting path without guessing what the designer intended.