Home > Enterprise >  ADF - Get error message from execute pipeline activity
ADF - Get error message from execute pipeline activity

Time:04-22

I have a requirement to mail errors in pipeline through logic apps.

I have a master pipeline with an Execute Pipeline activity and a web activity that sends email via logic app.

Problem is I am not sure how to capture the error message from Execute Pipeline activity as the output of this activity is the PipelineRunId for the downstream pipeline mentioned in Execute Pipeline activity...

enter image description here

Please let me know if there is any method to capture the error here..

CodePudding user response:

you can use the below expression:

activity('Actname')?.error?.message
  • Related