Workflow depedent on custom date field runs, despite the value is false
Hi!
This week, some of our workflows started to behave oddly.
The workflows are on-schedule, runs on every 06:00 AM, and it checks a date field. If the date on this field is older than today, the workflow send a notification message.
The workflows were working as expected until last week.
First example:
#MEK issue, “Lejárat” date is Jun 7, 2026:
the workflow guard:
It should return false. When i use console.log, it shows false. Somehow the workflow still executed (as seen on the picture, 5 days ago).
Second exapmle:
#ARIBA issue, "Blacklist_ddl" date is Sept 15, 2025:
the workflow guard:
It should return false. When i use console.log, it shows false. Somehow the workflow still executed (as seen on the picture, 3 days ago).
Please sign in to leave a comment.
Hi Matyas. First of all, I'd recommend upgrading to the current latest version 2024.3.52635.
If upgrading doesn't help, may I ask you to submit a ticket about this one? We might need to gather additional details about your workflow and other information about the setup.
It looks like this issue can occur when comparing numbers in workflows: JT-86533.
A possible workaround is to use a function that will return true if the subtraction result is equal to or lower than zero: