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 - Check...
Power Apps
Answered

Power automate - Check if there is an image in dataverse image column

(0) ShareShare
ReportReport
Posted on by 187

I am working on a simple flow to send an email when a record is created in dataverse.

One of the columns is an image column, that is added as an attachment to the email.

It works well when there is an image (it is optional), but there is an error when there is no image.

 

Here is how I get the image.

Salem_0-1674642357739.png

 

How to check if an image exists? or to avoid the "attachment can not be blank" error?

 

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    Bilakanti Profile Picture
    1,226 on at

    @Salem  You can use something like below in your condition step.

    empty(outputs(‘Add_new_row')?[‘<your column name>']). If it returns true then it's empty else it has value.

     

  • Salem Profile Picture
    187 on at

    @Bilakanti 

    That worked well, thanks!

     

    One more question, is checking for an attachment and have 2 send email steps a good practice or there is more efficient way?

    Here is how I have it:

    Salem_0-1674643507564.png

     

  • Bilakanti Profile Picture
    1,226 on at

    @Salem It's a best practice and recommended way to find the issue before hand to get rid of runtime issues.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard