
Announcements
I have an Automate that updates a field in the Common Data Service.
The automate process calculates the week number, day of the week, etc. based on a date and updates the fields for week number, day of the week (text) and month (text).
I experience that the flow is continuous, even if no one uses the application, or updates data in any other way.
The trigger is: Wen a entry is created, changed or deleted.
d.
I need input on how I can avoid the flow going every single second, when the application is not in use.
Hi @TrulsB :
Firstly, let me explain why you encountered this problem.
The key is that this flow falls into an infinite loop. Any update to ‘Produksjon’ will trigger this flow, and every time this flow runs, ‘Produksjon’ will be updated.
Secondly, I suggest you add a conditional action to this flow.
Before executing Update a record, determine whether ProdukXXX and ProdukZZZ in the return value of trigger are equal to the value you want to update. Something like this:
In this way, the second cycle triggered by the Update a record action will no longer execute "Update a record". The cycle will be interrupted.
Best Regards,
Bof