cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JoeBloggs
Frequent Visitor

Get the ID value from a lookup field and use it in my Flow

Hi All,

 

Newbie question sorry, so please be gentle.

 

I've got two lists and I think I'm trying to "set" a variable instead of hard coding the ID.

 

1. Sites list - fields = ID, Title, Code
2. Main list - fields = ID, Title, Sites (lookup)

 

Main list has a lookup field using the data from Sites list. I want to use the Sites list ID from the lookup field selected in the Main list. I've circled the ID field currently hard coded but need the ID value from whichever Site I select.

 

Capture1.PNG

 

Thank you in advance

 

1 ACCEPTED SOLUTION

Accepted Solutions

Like this:

 

site_01.png

 

On the Get Id Information block, click on ID, then from the Dynamic Content on right side, look for ID under the header of the block you want, e.g. "Sites List"  and click it.

 

See if it helps @JoeBloggs 

View solution in original post

2 REPLIES 2

Like this:

 

site_01.png

 

On the Get Id Information block, click on ID, then from the Dynamic Content on right side, look for ID under the header of the block you want, e.g. "Sites List"  and click it.

 

See if it helps @JoeBloggs 

The block should now look like this:

 

 

poweractivate_0-1658193370695.png

 

 

 

See if it helps @JoeBloggs 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,301)