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 / PA Flow Only Posting O...
Power Automate
Answered

PA Flow Only Posting One Image to SP Library

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator
 
I have a Power App Mobile app that takes photos.

For some reason only one photo is being posted to the SharePoint library.

Below, I have provided a screenshot of the camera screen, the camera control formula,
I view of the Collection showing the two images, and screenshot of the SP library showing,
only one image posted, and the submit button formula with the flow in it.

The flow is working, but only one photo is posting when two of more are actually taken.

What am I missing?
 
Camera Control - OnSelect:
Set(
    varCameraShot,
    GUID()
);
 
Collect(
    Trip_Project_Images_Collection,
    {
        DisplayName: TP_Image_Description_Fld.Selected.Value &" "& TP_Other_Image_Description_Fld.Text,
        Id: TP_Image_Description_Fld.Selected.Value & ".jpg",
        Value: TP_Camera_Control.Photo,
        Location: TP_Location_Fld.Text,
        Image_Description: TP_Image_Description_Fld.Selected.Value,
        Company_Name: TP_Customer_Name_Fld.Text,
        Invoice_Type: TP_Activity_Type_Fld.Text,
        Work_Date: JSF_Work_Date_DataCardValue.SelectedDate,
        Work_Order_Number: TP_Work_Order_Number_Fld.Text
    }
);
Trip_Project_Images_Collection - Showing the two images taken in the app

Screenshot of the app showing in several places two images taken.


Submit button formula. TP_Image_Gallery is the gallery circled in the above image.
ForAll(
    TP_Image_Gallery.AllItems,
    UploadTripJobImageFlow.Run(TPIG_Location_Lbl.Text,
    TPIG_Trip_Image_Description_Fld.Text,
    TPIG_Customer_Name_Lbl.Text,
    TPIG_Work_Order_No_Lbl.Text,
    TPIG_Invoice_Type_Lbl.Text,
    TPIG_Work_Order_Date_Lbl.Text,
    {
        file: {
            contentBytes: TPIG_Image.Image,
            name:  TPIG_Location_Lbl.Text & " - " &  TPIG_Invoice_Type_Lbl.Text &" - "& TPIG_Trip_Image_Description_Fld.Text & " - " & TPIG_Customer_Name_Lbl.Text &" - "& TPIG_Work_Order_No_Lbl.Text &" - "& TPIG_Work_Order_Date_Lbl.Text & ".jpg"
        }
    }
));

SharePoint Library where flow is loading images. Only one (the second) image is posting.
Categories:
I have the same question (0)
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at
    It appears that your flow is being called within a loop in PowerApps, which would result in the flow being triggered twice. However, it seems one of these flow executions is failing because you said only one image got uploaded. Review each individual flow run to pinpoint the issue and understand why one of the runs is unsuccessful.

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 Automate

#1
Haque Profile Picture

Haque 639

#2
Valantis Profile Picture

Valantis 392

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard