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 Automate / Flow with upload of 4,...
Power Automate
Unanswered

Flow with upload of 4, 3, 2 or 1 image

(0) ShareShare
ReportReport
Posted on by 353

Hi Community,

 

I have a power apps in which 4 images can be loaded. This is then connected to a power automate flow that contains a "Compose" with HTML code that generates a PDF.
The flow works correctly if I load the 4 images, but if I am missing an image to load it gives an error.
Is it possible through the P. Automate flow to generate a different "Compose" as the images are loaded? Or if the first and second image are loaded, the flow works correctly?.

 

Francisco77_0-1700677500594.png

 

Thanks

 

Categories:
I have the same question (0)
  • Francisco77 Profile Picture
    353 on at

    When I left an image entry without uploading the file I see this error in P.Apps, where "Text17" is the name of the entry which is left blank.

     

    "NameFlow.Run" error: Function "Run" has an invalid value for parameter "Text17": it was passed a blank value when it was not expected. Make sure that a valid argument is passed to the function.

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Francisco77 ,

     

    Just make these inputs optional.

    vbofengmsft_0-1700704320873.png

     

    Best Regards,

    Bof

     

  • Francisco77 Profile Picture
    353 on at

    Hi @v-bofeng-msft,

     

    I mark the box as optional, the problem now is that in the flow within PowerApps it shows me an error: Invalid argument numbers, 10 were received, and between 5 or 6 were expected (mark 4 entries as optional).

    Do you know what this could be due to?

     

    Thanks,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 282 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 159 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 146 Super User 2026 Season 2

Last 30 days Overall leaderboard