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 / How to know if entity ...
Power Automate
Unanswered

How to know if entity record is created or updated in power automate?

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am using the CDS action called "List Records" that returns records succefully, however I require to identify whether specific item was created/updated today - how can I check that?

 

Thanks,

Categories:
I have the same question (0)
  • MJain Profile Picture
    2,450 on at

    Hi @dave8 ,

     

    Since you can take advantage of fetchxml I would suggest you do advanced find first with your requirement and download fetchxml of it. Then  in List records action use the same fetchxml under advanced options.

    Capture.JPG

     

    Thanks

  • v-bacao-msft Profile Picture
    on at

     

    Hi @dave8 ,

     

    Please try to paste the following expression to Filter Query to filter records and see if it helps:

    (createdon ge '@{utcNow('yyyy-MM-ddT00:00:00Z')}' and createdon lt '@{addDays(utcNow(),1,'yyyy-MM-ddT00:00:00Z')} ') or (modifiedon ge '@{utcNow('yyyy-MM-ddT00:00:00Z')}' and modifiedon lt '@{addDays(utcNow(),1,'yyyy-MM-ddT00:00:00Z')}')

     

    Best Regards, 

  • Dave Wi Profile Picture
    on at

    Hello @v-bacao-msft @ManishJain 

     

    Actually I am already receiving records by matching it's value with "Modified On" via condition and that works.

     

    What is challenging is to identifying - "This record is created/updated/deleted" - How can I know this in Power Automate? Similarly as it shows in "Audit Summary View"?

     

    Thanks,

  • v-bacao-msft Profile Picture
    on at

     

    Hi @dave8 ,

     

    The first method is that you can create a Flow in the solution, and then use the When a record is created, updated or deleted included in the Common Data Service (current environment) connector as the trigger, and then check whether there is any in the trigger body that can be used Determine that the current record is created/updated/deleted.

     

    In the second method, you can create three flows to correspond to created/updated/deleted.

    20.PNG

     

    Best Regards,

  • Dave Wi Profile Picture
    on at

    Unfortunately, I need to receive deleted item information which is not received when record is deleted action.

     

    is there any way to get deleted item information in power automate?

     

    Thanks,

  • v-bacao-msft Profile Picture
    on at

     

    Hi @dave8 ,

     

    I think this is impossible. Since it is an item that has been deleted, then we cannot get its related information. Unless you create a new entity to back up the record in this entity in advance.

     

    Best Regards,

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard