is there a way of setting a clause in the automation, so that it stops when an automation is the reason it got triggered?
sounds weird, here is my challange:
I have contacts in my DB.
these have a FirstName.field and a LastName.field.and an Entity Name field (“LastName, FirstName”).
the entity.name is set by an automation and not with a formula, because this way I can create new contacts from within other documents and entites.
this works great BUT
I have an automation that takes this “LastName, FirstName” and splits it into the corresponding fields. but also the entity name field gets updated if the first or last name gets edited. And of course this creates a loop.
How can I tell the automation just to be triggered when a manual edit is made and not when the automation is changing the fields?
Weirdly, I wrote the above before checking the behaviour you described, but now I’ve set it up and tested myself, I can’t actually reproduce getting the loop detection to trigger even without my precautionary ‘if’ statements !!!
i had it exactly like this. triggered on update. and it lead to the loop error. (i was wondering when i set it up if it would cause a loop and where i would find a log of the never stopping updates - but it just threw the error in the notifications and put a red light on one of the automations.)
even though after one run through it should stop in any case, because there is no change in the fields anymore, isnt it?
anyway - with your if, the loop does not even start and that safes cpu … i am happy