cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lbaumgartner15
Level: Power Up

Update File Properties Error

Hi Guys, 

 

I'm working on an app that will allow our guys in the shop to take quality assurance pictures and have them uploaded to Share Point. Because we only have so many flow runs a month I want to be able to upload a gallery using one flow. I have the flow making a file for each photo with a random file name but I need to know what job number the photos goes with. Therefore, I'm trying to update the file properties to populate columns in Share Point. This is what I'm running into. 

 

 InvalidTemplate. Unable to process template language expressions in action 'Update_file_properties' inputs at line '1' and column '1810': 'The template language expression 'triggerBody()['Updatefileproperties_JobNumber_1']' cannot be evaluated because property 'Updatefileproperties_JobNumber_1' doesn't exist, available properties are 'Compose_Inputs, Updatefileproperties_JobNumber'. Please see https://aka.ms/logicexpressions for usage details.'.

 

I didn't know how to fix this so I figured I would make a blank file because I know that I can change the file properties on that and then at least I would have something in the folder with the job number. However, when I did that I'm still getting the error above and I don't know why. 

 

Does anyone have any idea?

 

1 ACCEPTED SOLUTION

Accepted Solutions
lbaumgartner15
Level: Power Up

Re: Update File Properties Error

Hi Alice and thank you for your response I got it but I want to explain as well as I can what happened for fellow users.

 

You suggested: 

 

Please take a try to modify the template language expression that you mentioned to

'triggerBody()['Updatefileproperties_JobNumber']'

 

I think I did this but I was still getting the following error. 

 

InvalidTemplate. Unable to process template language expressions in action 'Photo_Properties' inputs at line '1' and column '1809': 'The template language expression 'triggerBody()['PhotoProperties_JobNumber']' cannot be evaluated because property 'PhotoProperties_JobNumber' doesn't exist, available properties are 'Compose_Inputs, Updatefileproperties_JobNumber'. Please see https://aka.ms/logicexpressions for usage details.'.

 

I had changed the name of the Update File Properties action to PhotoProperties at some point I swore that I had done it both ways but flow isnt very good at updating. I deleted the PhotoProperties action and just made a new one and left the name as Update File Properties. This seemed to work for me... would also recommend that when you click on the form (input box) that you change it to new and not edit. I don't know how much that played into my problems but there it is. 

View solution in original post

2 REPLIES 2
Highlighted
Community Support Team
Community Support Team

Re: Update File Properties Error

Hi @lbaumgartner15,

 

Could you please share a screenshot of the configuration of your flow?

Could you please share more details of the error message when the flow run failed?

Have you use expression in your flow?

 

The error message you provided told that the property 'Updatefileproperties_JobNumber_1' doesn't exist, available properties are 'Compose_Inputs, Updatefileproperties_JobNumber'

 

Please take a try to modify the template language expression that you mentioned to

'triggerBody()['Updatefileproperties_JobNumber']'

 

 

Please let me know if your problem could be solved or share more details so we would try to provide a proper workaround for you.

 

 

Best regards,

Alice

lbaumgartner15
Level: Power Up

Re: Update File Properties Error

Hi Alice and thank you for your response I got it but I want to explain as well as I can what happened for fellow users.

 

You suggested: 

 

Please take a try to modify the template language expression that you mentioned to

'triggerBody()['Updatefileproperties_JobNumber']'

 

I think I did this but I was still getting the following error. 

 

InvalidTemplate. Unable to process template language expressions in action 'Photo_Properties' inputs at line '1' and column '1809': 'The template language expression 'triggerBody()['PhotoProperties_JobNumber']' cannot be evaluated because property 'PhotoProperties_JobNumber' doesn't exist, available properties are 'Compose_Inputs, Updatefileproperties_JobNumber'. Please see https://aka.ms/logicexpressions for usage details.'.

 

I had changed the name of the Update File Properties action to PhotoProperties at some point I swore that I had done it both ways but flow isnt very good at updating. I deleted the PhotoProperties action and just made a new one and left the name as Update File Properties. This seemed to work for me... would also recommend that when you click on the form (input box) that you change it to new and not edit. I don't know how much that played into my problems but there it is. 

View solution in original post

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (2,589)