locked
Run 2 Task or Activities in single pipeline RRS feed

  • Question

  • Hi,

    We have 2 Activities.

    1. Copying data from on prem sql to Azure Blob

    2. Call Azure ML web service and store the prediction back to Azure Blob

    Can we run both the activities in a single pipeline of Azure Data Factory?

    Thanks 

    Chaitra


    • Edited by ChaitraDK Thursday, March 16, 2017 11:32 AM
    Thursday, March 16, 2017 10:51 AM

All replies

  • Hello,

    I leave you this pipeline that leef a file of a blol and invokes the ML service.

    Greetings.

    Thursday, March 16, 2017 11:58 AM
  • Hi Chaitra,

    yes, you can run them both in the same pipeline
    Assuming that the first Activity produces a Dataset which is the Input for the second Activity then ADF will take care of the dependencies automatically

    If this is not the case, you might use a pipline-scope dataset as a dummy to force dependencies

    hth,
    -gerhard


    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

    Thursday, March 16, 2017 2:23 PM