I have not experience this before but my idea is to configure your Until activity with a timeout setting (for example 20 hours) then you add a Fail activity or a Set Variable activity to be triggered upon failure of the Until activity. You can do this by setting up dependencies:
- Select the
Untilactivity, go to the General tab, and under theActivitiessection, configure theSuccess,Failure, andCompletiondependencies. - Add a
Set Variableactivity or aFailactivity to handle the timeout case specifically.
Then, you create a Logic App that will be triggered when a failure occurs, then use a Web Activity within your ADF pipeline to call the Logic App and configure it to send a POST request to your Logic App with necessary details.