Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

Invoking Pipeline across workspaces

Hi,

It looks like there is still no native option to invoke a pipeline from a different workspace using the invoke pipeline activity.

 

Are there any work arounds available to invoke a pipeline in Y workspace after a pipeline in X workspace has finished running succesfully?

7 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

    Thanks for using Fabric Community.
    You're right, there's currently no native way to directly trigger a pipeline in a different workspace using the Invoke Pipeline activity in Fabric Data Factory.

    However I can suggest a simple workaround -
    The API for triggering pipelines is: Job Scheduler - Run On Demand Item Job - REST API (Core) | Microsoft Learn
    With the help of this you can trigger a Pipeline in different workspace. 

    " The Job Scheduler API is missing documentation when it comes to the jobType parameter. If you are trying to run a Data Pipeline on demand, don't use DefaultJob like this.

     

    /jobs/instances?jobType=DefaultJob

     

    Instead, use Pipeline like this.

     

    /jobs/instances?jobType=Pipeline "

    Hope this is helpful. Please let me know incase of further queries.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Anonymous ,

      We haven’t heard from you on the last response and was just checking back to see if your query was answered.
      Otherwise, will respond back with the more details and we will try to help .

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Anonymous ,

        We haven’t heard from you on the last response and was just checking back to see if your query was answered.
        Otherwise, will respond back with the more details and we will try to help .