Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Automate updating CDS Entity is running continius

(0) ShareShare
ReportReport
Posted on by 144

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.cds-1.PNGcds-2.PNGcds-3.PNG

I need input on how I can avoid the flow going every single second, when the application is not in use.

  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Automate updating CDS Entity is running continius

    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:

    v-bofeng-msft_0-1605253913940.jpeg

     

    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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow