cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Wackmack88
Level 8

Update lookup column in library form list item

Hi all,

 

I made a PowerApps form with cascading so people can easly choose the correct value. Now i have a made a flow to update my file properties. I can easly update all the text/number/choice/date columns except the Lookup columns. I flow i can only select the Lookup column ID instead of the value. 

 

Now i have made two variables but i cant use the variables inside the Lookup column. I can use the variable for all the text columns. How can i solve this problem?

 

Update lookup column.png

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Update lookup column in library form list item

Hi @Wackmack88 ,

 

Could you please share a screenshot of the configuration and the run history of the flow?

The relationship of Id and Value in lookup column is designed as below:

ID 0, Value 1,

ID 1, Value 2,

ID 2, Value 3,

ID 3, Value 4,

ID 4, Value 5.

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

4 REPLIES 4
Wackmack88
Level 8

Re: Update lookup column in library form list item

When i use the compose function i got the same error, i cant update value in the Lookup column because of the ID.
""message": "Error converting value \"\" to type 'System.Int64'. Path 'Id', line 2, position 42."

 

Compose value.png

Highlighted
Wackmack88
Level 8

Re: Update lookup column in library form list item

After some more testing, i see the errors. When i select the dynamic lookup column id i see that it dont match.

 

The input if for example, ID 5, Value 5

The output is then ID 4, Value 4

 

Every output is ID-1 so that why i see after every flow the wrong output. Now it's time fix this problem.

Community Support Team
Community Support Team

Re: Update lookup column in library form list item

Hi @Wackmack88 ,

 

Could you please share a screenshot of the configuration and the run history of the flow?

The relationship of Id and Value in lookup column is designed as below:

ID 0, Value 1,

ID 1, Value 2,

ID 2, Value 3,

ID 3, Value 4,

ID 4, Value 5.

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

Wackmack88
Level 8

Re: Update lookup column in library form list item

After i delete the columns with the lookup field and recreate the columns the flows run perfectly. I made a nice PowerApps forms with some nice features. After this process flow will update my documentset. 

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,208)