web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Infinite loop caused b...
Power Automate
Answered

Infinite loop caused by CDS Update trigger

(0) ShareShare
ReportReport
Posted on by 30

Hello all,

 

I have seen this posted in response to Sharepoint but not CDS.

 

I have a simple flow that when a CDS record is updated it updates an API. When updated that API responce with an item version. I need to then update my CDS record with this new version number to make sure i can make future calls. This then causes the update trigger to be called again and thus i enter an infinite loop.

 

Is there a way to tell the update trigger to ignore this or some way to use the attribute filters to avoid this? I have fields that  have the update time etc, but i am hesitant to rely on these as what if a change is made in rapid succession I might have a problem. For example if i say check if this was updated within the last 20 seconds and ignore if so.... 

 

Here is a snap of the flow. 

 

loop.PNG

 

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @aberson1 

     

    You may need some sort of flag identifier to check whether the value is already updated or not? Add the flag check after the trigger then continue if the flag is false or null.

     

    Thanks

  • aberson1 Profile Picture
    30 on at

    I did the flag..

     

    Also since i was only updating 1 field that doesn't get changed anywhere I made attribute filters on the trigger for all the other fields so i don't use a flow when not needed...

     

    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard