question

arkiboys avatar image
0 Votes"
arkiboys asked KranthiPakala-MSFT commented

ADF web activity

Hello,
Now that I have completed the ADF pipeline, at the end of it I would like to use a web activity so that it informs external apps that the ADF has completed loading the files successfully.
Question:
Can you please let me know what needs to be done from the external app?
do they need to provide a url or something like that and the web activity to call that url and pass a parameter to say if it failed or succeeded?
Any simple example to see how web activity notifies other apps for this requirement?
Thank you

azure-data-factory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KranthiPakala-MSFT avatar image
0 Votes"
KranthiPakala-MSFT answered KranthiPakala-MSFT commented

Hello @arkiboys,

Thanks for the question and using MS Q&A platform.

At this point we are not sure what your external app is. But in general, the implementation totally depends on the capabilities of your external application, if your app exposes an endpoint (nothing but an endpoint URL through which you can pass the parameters) then you will have to pass the respective fileds to the endpoint using ADF web activity. In case if your external app can read data from blob, then you can write a blob with few details about the competition of the pipeline like pipeline name, pipeline runID, status, etc. In a similar way if your pipeline can read from SQL then you can write the pipeline completion details to SQL and then your external app can read it. If you have custom code that can pass the message to your external app, then you may also use a Custom activity or an Azure Function Activity inside your ADF pipeline.

  • I see that this has also been discussed here in this thread - adf completed - notification


    do they need to provide a url or something like that and the web activity to call that url and pass a parameter to say if it failed or succeeded?

    Yes, you are correct, an endpoint URL is needed to pass the message/content to your external app.

    As your external app is generic at this point, you may consider any of the above discussed scenarios as per your requirement.


    Hope this will help. Please let us know if any further queries.


  • Please don't forget to click on 130616-image.png or upvote 130671-image.png 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


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

With web activity does it mean the external apps will have to listen all the time?
How about using event grid instead?

0 Votes 0 ·

Hello @arkiboys,

Azure Data factory is not supported as Event source for Azure Event grid. I believe the follow-up query was discussed by one of our engineers in this thread - subscribing to completion of ADF

If the above response answers your query, please do click “Accept Answer” and/or Up-Vote, as it might be beneficial to other community members reading this thread. And, if you have any further query do let us know.


0 Votes 0 ·