Required Expression Not Evaluating Correctly?

The required expression would only be evaluated when the rule is opened in the UI, never otherwise, so this would fail.

Will look into the error thrown...

1 Like

Thanks for the tip - I'll stop using global variables in required expressions.
In case it helps, I did try the same thing with global variables in the regular expression but I get the same error.

Hub Variables are fine, just not local variables.

Sorry, meant to write local - just typed the exact opposite of what I intended. :smiley:

Any updates on this?

On the to-do list.

1 Like

This is going to be fixed in an upcoming release,

The resolution will be that it will still throw an error to the logs, like this:

However, unlike now, that will not be a fatal error. Instead, whatever date/time is in the past will simply not be scheduled. This will work for triggers and Required Expression conditions.

1 Like

Sounds great - looking forward to the release! Thank you! :smiley:

Perhaps worth pointing out that the evaluation of a Between Two Dates conditions doesn't care about a date in the past. It was only the scheduling of Required Expression elements that caused this problem.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.