cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Martin_MC
Helper II
Helper II

Is it Possible to Store Text in SharePoint Lookup Field? Lookup Is Apparently Type 'Integer'

TLDR
Is it at all possible to have Flow / Power Automate take text data from a Forms form and store it into a SharePoint field of type 'Lookup', which for some reason seems to be of type integer?


SPECIFICS
Basically I want to use Forms (rather than PowerApps) to create a simple form for raising approval requests. In the forms form the user will select an email address from a dropdown list (which matches the lookup field on the SharePoint list). I have a basic flow as below to transfer the form response to the SharePoint list, but I'm unable to transfer the email address selection to the Sharepoint list and into a field, presumably because it is a lookup field (which I need it to be for later in the flow) with the unique / primary key being the ID, rather than the email address / text itself. 

Does anyone know if this is possible and if there is a workaround or way to translate this information? Or any way to change the unique primary key of the list being looked up to be the email address column?


ERROR MESSAGE
The 'inputs.parameters' of workflow operation 'Create_item_2' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/Authorised_x0020_Requestor/Id' is required to be of type 'Integer/int64'. The runtime value '"[CHOSEN EMAIL ADDRESS]"' to be converted doesn't have the expected format 'Integer/int64'.

Martin_MC_0-1622211030240.png

 

 

1 REPLY 1
abm
Super User III
Super User III

Hi @Martin_MC 

 

You need to get id by using the filter query from the related list.

 

Please see this link below:

Solved: Updating SharePoint Lookup Column with multiple - Power Platform Community (microsoft.com)

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,050)