Hello @Jay V ,
Thanks for the ask and using the Microsoft Q&A platform .
Your assesment is correct that lookup has a limit of 5K rows at this time . Since you have mentioned that source is a SQL table and with 500K records I am assuming that you must be having a primary key , if thats the case you can use the watermark logic and it should work . Read about the logic here
Logic .
- Create a Watermark table to store the max Primary key .
- Fetch the top 5K from the table and pass that to the foreach ( FE) loop .
- Try to grab the max of the Primary key and now the query should be something like ( SELECT * from somesource table where primarykey > max(primarykey )
Let me know if you have any queries on this
Please do let me know how it goes .
Thanks
Himanshu
Please do consider to click on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members