# ask-community

Ahmed Elsagheer

07/20/2023, 9:40 PM
Hi Dagster Support team I'm new to dagster and have a problem I really appreciate it if you can help me with it, we have 2 different repos each one has its own assets and jobs we import them into Dagster UI and we can run jobs in both of them but how can we build dependency between jobs from different modules

Ahmed Elsagheer

07/20/2023, 10:08 PM
Thanks for the Links you provided @johann I read through the sensors docs and think I can solve my problem by making one job create the external file and other jobs from the second code location check if a new file is created I wonder if there is a way I can refer to an external job from the other code location?


07/20/2023, 10:10 PM
Usually you’d have a job in code location 1 materialize an asset, and a asset sensor in code location 2 notices that materialization and fires a job also in code location 2
So you don’t refer to jobs across code locations