Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADF - Get error message from execute pipeline activity

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..

like image 981
dragonachu Avatar asked May 21 '26 22:05

dragonachu


1 Answers

you can use the below expression:

activity('Actname')?.error?.message
like image 185
Nandan Avatar answered May 23 '26 20:05

Nandan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!