Skip to main content
2 of 5
added 30 characters in body
sanket kumar
  • 15.6k
  • 2
  • 29
  • 60

Flow Formula Editor: Syntax Error for simple IF statement

I received the following error:

The formula expression is invalid: Syntax error. Missing ')'

For the following statement:

IF
(
{!$Record.Date_Time_Field_1__c} < 14:00:00, 
{!$Record.Date_Time_Field_1__c} + 04:00:00, 
{!$Record.Date_Time_Field_2__c}
)

This seems fairly straightforward so I am hoping someone can shed some light. Am I missing something related to the Visual Flow formula editor, $Record placeholders or Date/Time values here that results in the error?