Jan 05, 2021 01:25 AM
Hi
My automation behaves strange when using two trigger conditions. I created a very simple automation to demonstrate the bahavior.
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 cause?
KR Ashgard
Solved! Go to Solution.
Jan 12, 2021 09:13 AM
Would you mind taking a snip (pic) of your automation trigger conditions and replying here?
Also, check out this issue.
Jan 08, 2021 07:32 AM
Hey KR, I think I understand what you’re asking. Have you tried setting the default format for your formula to Integer? I think that I’ve had to do that before (maybe it’s an implied casting of the formula result to the format type).
Jan 11, 2021 12:24 AM
Hi @augmented. Thanks for your suggestion. I checked, but I had the format of the formula already set to Integer. There must be something else causing this issue.
Jan 12, 2021 09:13 AM
Would you mind taking a snip (pic) of your automation trigger conditions and replying here?
Also, check out this issue.
Jan 12, 2021 10:11 PM
Thanks for the information. The issue you referred to indeed seem to explain my issue. I made the Last modified time field dependent on the Force sync field. That seems to solve it as it will cause both conditions to go to false.
Here is the screenshot of my trigger for later reference.