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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Automate Approva...
Power Apps
Answered

Power Automate Approval Flow - Attachment

(0) ShareShare
ReportReport
Posted on by 16

Hi there,

 

Hoping someone can assist.

 

Within my canvas app, I have a form which the user completes, which then goes through an approvals flow and the data is stored in a dataverse table.

 

A part of the form is an option for the user to add an image. However as it's not a requirement, the user does not always need to add an image. It works perfectly but when the user does not add any image for the item created, it is causing the flow to fail as my understanding is that the flow is expecting an image but returning none?

 

In the Approvals part of the flow, within the attachment, I am using the dynamic content to retrieve the item from (Download a file of an image).

Crimson357_3-1688746555367.png

Next is the approval flow part:

Crimson357_2-1688746335475.png

 

I have tried to write some expressions instead of just using the dynamic content but have been unsuccessful.

 

This is the error message I get back:

 

Crimson357_0-1688747161735.png

 

If anyone can help, I would appreciate it!

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    hthpowerapper Profile Picture
    364 Super User 2024 Season 1 on at

    As This Question is more related to Power Automate I would recommend Posting this question Here so you can get better help. As Per Your Problem it seems as if you need to add a condition to your flow to check if the image field is null or not. You could do something like If the condition is true (Image Field is not null) then process with download a file of an image. If the Condition is false then you can skip the download and continue with your flow. However, if you need the Approval email to include an image attachment, then you might need to find a way to provide a default image for when the user doesn't upload one.

  • Crimson357 Profile Picture
    16 on at

    Thank you for replying. I tried adding the condition with a few amendments and it worked.

  • hthpowerapper Profile Picture
    364 Super User 2024 Season 1 on at

    Nice! Good stuff. Please mark my answer as a solution if it led to your solution.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard