dragonachu
dragonachu

Reputation: 551

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

Upvotes: 3

Views: 3453

Answers (1)

Nandan
Nandan

Reputation: 4945

you can use the below expression:

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

Upvotes: 1

Related Questions