Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Adding attachment to Approval entity

(0) ShareShare
ReportReport
Posted on by 186

Hey everyone

 

I am trying to build a flow to add an attachment to the Approval entity in Common Data Service AFTER the approval has been created.

 

I already have a flow that will create the approval with the attachment when there is an attachment at creation, see two screenshots below: 

image.png

image.png

 

The issue is that sometimes an approval is created with no attachment. Users will upload an attachment after the approval has already been created. My goal is to update the approval record with the attachment.

 

The flow is pretty basic - see screenshot below:

 

1. gets triggered when there is an attachment

2. check if approval is still active

3. upload attachment to CDS.

 

image.png

 

The issue is that there is no field for name and content.

image.png

 

How do I go about updating the record? Is there a different entity that stores the attachment for the approval?

 

Thanks!

 

 

 

  • lukas.schauffele Profile Picture
    186 on at
    Re: Adding attachment to Approval entity

    Hey @v-bacao-msft 

     

    Thank you! It is the Notes entity. To add to your answer, we need to set Regarding Type to msdyn_flow_approvals.

    image.png

  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: Adding attachment to Approval entity

     

    Hi @LKS ,

     

    As far as I know, we generally add attachments in Notes entity.

    Please try to add files to the notes entity and fill Approval identifier in Regarding field.

    80.PNG

    Please take a try and check if it helps.

     

    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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >