web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : EDcKs7IgO890QmCC7M8ArQ
Power Automate - Building Flows
Answered

Adding attachment to Approval entity

Like (0) ShareShare
ReportReport
Posted on 1 Apr 2020 04:36:50 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 04 Apr 2020 at 01:34:27
    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 02 Apr 2020 at 05:09:46
    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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2