WEEKDAY_XX accepts an empty string "" or a single blank " " as its date argument and returns "??" instead of raising a runtime error. "??" is not among the documented return values(MO/DI/MI/DO/FR/SA/SO).
Expected: consistent validation of the date argument regardless of whether it is blank or non-blank-but-invalid.
Actual: blank input is silently accepted and returns an undocumented value; non-blank invalid input is rejected.
Script to reproduce:
:SET &RESULT# = WEEKDAY_XX(""):PRINT "WEEKDAY_XX with an empty string: '&RESULT#'":SET &RESULT# = WEEKDAY_XX(" "):PRINT "WEEKDAY_XX with a single blank: '&RESULT#'"
Excerpt from the Job report
2026-08-06 22:45:52 - U00020408 WEEKDAY_XX with an empty string: '??'
2026-08-06 22:45:52 - U00020408 WEEKDAY_XX with a single blank: '??'
Release: v24.x v26.x
Component: Automation Engine
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Automation.Engine
Automation.Engine TBA - TBA