Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
data association converts date + duration expression to a string — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

data association converts date + duration expression to a string

Question
8
Views
0
Comments
edited Jun 25, 2020 10:08PM in Process Automation

Summary

data association converts date + duration expression to a string

Content

While the simple expression builder considers the following date arithmetic expression to be valid, the data association window shows that the express is being converted to a string and thereby considers it invalid:

date('now') + duration("PT"+hoursDO+"H")

Meanwhile, the data association window is perfectly happy with these:

'now' + 'PT1H'
date('now') + duration('PT1H')

Some screen shots to add context...

I have come up with a not very desirable workaround, but I'd like to be able to do this in a single expression like above.  Any help/thoughts appreciated!

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!