Hi
My automation behaves strange when using two trigger conditions. I created a very simple automation to demonstrate the bahavior.
- Trigger: When record matches condition
- When “Force sync” is True
- OR When “Time since last modified” > 600
- Action: Run a script (using default code)
Some explanation about the settings:
-
“Force sync” is a checkbox field. I use it to force the automation to start
-
“Time since last modified” is a formula field that calculates the time (in seconds) since the last modification of the record. The formula is
IF(DATETIME_DIFF(NOW(),{Last modified time},‘seconds’)>1000000000,-10000,DATETIME_DIFF(NOW(),{Last modified time},‘seconds’))
The issue:
- The automation isn’t triggered when the “Force sync” is set to true.
The cause?
- Apparently it has to do with the formula field. If I change it to a Number field it works as expected. Then why is it now working with the formula?
KR Ashgard