Expression syntax error when using ToString() on DateTime in Update Data action

The ToString() function on DateTime is broken inside Update Data actions. Again.

I’ve wasted 4 hours on this. ToString(Flow.CurrentDateTime) works in Set Variable. It returns empty string in Update Data Table Row. Nobody at Genesys acknowledges this as a bug. The workaround is to set a string variable first, then use that variable in the Update Data action. Two steps for what should be one. Classic.

We hit this same issue when logging trunk failover timestamps via a Teams webhook.

Our PowerShell script reads the Data Table to check when the last failover occurred. When the timestamp field is empty due to this bug, the script assumes no failover has ever happened and skips the alert. We lost visibility on 3 failover events before discovering the root cause.