cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CABIRD
Level: Powered On

Upload images to Flow

Hi

 

Prior to creating a flow. I wanted to confirm my code was functioning as expected. I used the below code.

Collect(PictureList,
	{Image:UploadedImage1.Image,
	ID:Concatenate(AuditNumber.Text, " - ", Text(Today(),
	"[$-en-US]dd/mm/yy")," - ",
	Text(CountRows(PictureList)),
	".jpg")
	};
    UpdateContext( { FinalData: Concat(PictureList, ID & "|" & Image & "#") } )
)

I was expecting to see the following

  • Gallery displaying the image.
  • Collection showing ID and image.
  • Variables displaying a text string.

Checker.pngCollections.pngVariables.png

As you can see from above nothing yet the code shows no errors and I'm perplexed as to why.

 

Can you help.?

 

Thank you.

 

P.S. Remove the code below and ID and image are shown in the Gallery and Collection displays ID and Image.

UpdateContext( { FinalData: Concat(PictureList, ID & "|" & Image & "#") } )
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Upload images to Flow

Hi @CABIRD ,

 

I test with the formula expression as next, and get the FinalData as the screenshot shwows:

Collect(PictureList,
{Image:UploadedImage1.Image,
ID:Concatenate(AuditNumber.Text, " - ", Text(Today(),
"[$-en-US]dd/mm/yy")," - ",
Text(CountRows(PictureList)),
".jpg")
}
);UpdateContext( { FinalData: Concat(PictureList, ID & "|" & Image & "#") } );ClearCollect(test,{FinalData:FinalData})

 

20190419finalData.PNG

 

Best Regards.

Yumia

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Upload images to Flow

Hi @CABIRD ,

 

I test with the formula expression as next, and get the FinalData as the screenshot shwows:

Collect(PictureList,
{Image:UploadedImage1.Image,
ID:Concatenate(AuditNumber.Text, " - ", Text(Today(),
"[$-en-US]dd/mm/yy")," - ",
Text(CountRows(PictureList)),
".jpg")
}
);UpdateContext( { FinalData: Concat(PictureList, ID & "|" & Image & "#") } );ClearCollect(test,{FinalData:FinalData})

 

20190419finalData.PNG

 

Best Regards.

Yumia

View solution in original post

CABIRD
Level: Powered On

Re: Upload images to Flow

Hello  @v-yuxima-msft 

 

Thanks so much I spent many hours yesterday trying to comprehend the error. 

 

Best wishes

Christopher

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,925)