Expresssion guidance - Syntax for OR
Content
Hello,
I'm looking for some help or guidance on where I can find the syntax for writing more complex expressions for column definitions, making custom reports. Unfortunately, I'm not use to the language or the syntax that Oracle Service Cloud uses and looking for any resource that can help.
I'm attempting to write an expression with an OR clause and I can't seem to figure out what the correct syntax is for or. (Incidentally I found & for AND on this community but nothing for OR).
Below is an example
if(date_trunc(chats.requested, days) < date_trunc(incidents.created, days) OR if (date_trunc(chats.requested, days) IS NULL) then date_trunc(incidents.created, days), else date_trunc(chats.requested, days)