Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Help narrowing down When a record is created, updated or deleted

(0) ShareShare
ReportReport
Posted on by 664

I am creating an automated flow using the CDS trigger When a record is created, updated or deleted.

Flow.PNG

The crossed out value is the internal name for a text field on the entity. What I want to happen is that every time this value changes, a different record is created in a separate entity. This is working fine. 

What is happening is that every time the data refreshes between my SQL table and the entity, the flow is triggered

Is there a way to narrow this down so that I can only get actual value changes? Not sure if there's a better trigger or I should be using a filter expression...

  • DeepakS Profile Picture
    2,301 Most Valuable Professional on at
    Re: Help narrowing down When a record is created, updated or deleted

    Hi @Cooper01 

     

    It seems data refresh is triggering the update trigger. 

    here is what i would suggest :

    Option 1)

    - Add a new field in CDS entity to track the changes (so when actual value updated set this field to true else false)

    - on your trigger check if new field is true if yes create new record else ignore

     

    Option 2)

    - On Create Record - Check if the record already exist before creating new one.

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

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,605 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow