Hello @Jun Ting Ho ,
Thanks for the ask and using Microsoft Q&A platform .
If I understand this correct , we have two different processes ( Logic apps & ADF ) which are running on on the same table and due to timing issues , i think you are running into issues .
In case if my understanding is correct , i think you can do this two ways .
- Call the logic app from the ADF first and then Copy activity . This way lineage will be set . You can look into this example . https://stackoverflow.com/questions/67585624/how-to-securely-invoke-a-azure-logic-app-from-azure-data-factory
- This option is very simple , in the existing ADF pipeline , add a lookup and try to check if the data is inserted by the logic app ( may be querying the timestamp ) , add an if statement and inside the if add the copyting activity . The logic should to check if there is any latetst record using lookup , if its then copy the data else do nothing .
Please do let me know how it goes .
Thanks
Himanshu
-------------------------------------------------------------------------------------------------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators