Skip to content

Decision Table: Date and Time Range Validation Not Working #37

Description

@mayurnikam59

Unable to validate date and time ranges in decision table conditions. All attempted syntaxes for date/time comparison fail to match rules, while simple string matching (day codes) and numeric ranges (quantity) work correctly.

Expected Behavior
Decision table should support date and time range validation similar to how it supports numeric ranges, allowing rules like:

Date range: >= date('2025-01-01') && <= date('2025-12-31')
Time range: >= time('09:00') && <= time('18:00')
Current Behavior
✅ Works: Numeric ranges [1..100], string matching "MON","TUE","WED"
❌ Fails: Date ranges, time ranges with any syntax attempted
Tested Syntaxes (All Failed)
Range notation: [2025-01-01..2025-12-31] and ["09:00".."18:00"]
Comparison with AND: >= "2025-01-01" && <= "2025-12-31"
Function wrappers: >= date('2025-01-01') && <= date('2025-12-31')
Placeholders: date(?) >= date("2025-01-01") and date(@) >= date("2025-01-01")

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions