web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Getting the autoID from first table and added data to the second table (for looping flow)

Posted on by
Hello,
 
I am preparing the flow which allows adding a new row with autogenerated id in one table and then, getting that recently added id as a foreign key, the new data will be added to the next table.
The flow I prepared is as follows
 
adding a new data to the first table dtb_FRL
 
adding the data to the second table dtb_FRLC_TravelCost together with the recently added id (in the first pic)
 
 
It is successfully when running with a single trigger. However, when I runs the flow with loop (with multiple times), the added id are all the same in adding the data to the second table though the id are not the same in the first table. This may be due to the same time when creating the data record in the first table.
I would like to know is that is there any alternative way for my scenario? Or how could I overcome this problem?
 
Thanks.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard

Featured topics