Forum Discussion

OumaimaRassaa's avatar
OumaimaRassaa
New Member
5 months ago
Solved

Trigger external process after Stored Procedure completion in Fabric Warehouse

Hello, in Microsoft Fabric Warehouse is it possible to trigger an external process (API/pipeline/integration flow) after a stored procedure finishes or after an insert/update in a table? Are event-ba...
  • tayloramy's avatar
    5 months ago

    Hi OumaimaRassaa

     

    I would do this with a pipeline. 

    Have the pipeline run the stored procedure, and then after the stored procedure avtivity add in a Web activity to call whatever API you want to call.  

  • R1k91's avatar
    R1k91
    5 months ago

    as tayloramy said pipeline is the best way to orchestrate stuff.
    as of now warehouse doesn't support sp_invoke_external_rest_endpoint.

    it is supported in SQL database in Fabric but it would be cumberstone to build a chain of calls like

    WH stp -> SQLDB stp with invoke_rest -> WhateverAPI


    pipeline is defenetly the tool to choose.

    sp_invoke_external_rest_endpoint (Transact-SQL) - SQL Server | Microsoft Learn