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 / CDS Approvals and Appr...
Power Automate
Unanswered

CDS Approvals and Approval Requests

(0) ShareShare
ReportReport
Posted on by 186

Hi everyone

 

My goal is to send an reminder email, every day at 8AM, to approvers who have outstanding approvals.

 

I am using the modern approval CDS approach, where the first flow creates the approval and writes it to the Common Data Service. The second flow kicks in when the statuscode in the Approvals entity changes (i.e. the approval has been actioned).

 

My first approach was to filter the Approvals entity by records that have a blank Outcome. This returns the correct records.

 

202002061350256lukask.png

 

Unfortunately, the owner of the record is the requestor and not the approver. I then went to the Approval Requests entity, where the owner of the record was the assignee.

 

My knowledge about CDS entities and the logic behind them stops here.

 

First, the records in Approvals and Approval Requests are not synchronised. I have a handful of active approvals in Approvals, but there are hundreds in Approval Requests. How come there are records that have been marked as inactive in Approvals but they remain active in Approval Requests? Is this intended?

 

Second, how do I use the Update a Record action to get the correct record from Approval Requests? When I use the Approval Id as the unique id, it can't find anything. Is my only option to return the whole list and then filter by Approval Id Index?

 

Thank you for your help!

Categories:
I have the same question (0)
  • Verified answer
    rimatos Profile Picture
    on at

    Hi @LKS ,

     

    In terms of the difference between the number of records from the Approvals and Approval Request, this can be due to the fact that a single Approval might need more than one person to approve the request in order for the Approval to be succeeded.

     

    As for the second question, in order to update a specific record you should be able to do it by referencing the Approval ID, to specify which record you intend to Update.

     

    Could you show a print of how you are performing this action in the connector?

     

    Regards,

    Ricardo

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

#2
Tomac Profile Picture

Tomac 427 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard