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,
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.
Thanks
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,
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,
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.
Best Regards,
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,
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,
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
45 | |
45 | |
38 | |
35 | |
23 |
User | Count |
---|---|
48 | |
32 | |
32 | |
31 | |
29 |