[英]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.我有一个主管道,其中包含执行管道活动和 web 活动,该活动通过逻辑应用程序发送 email。
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...问题是我不确定如何从执行管道活动中捕获错误消息,因为此活动的 output 是执行管道活动中提到的下游管道的 PipelineRunId ...
Please let me know if there is any method to capture the error here..请让我知道这里是否有任何方法可以捕获错误。
you can use the below expression:您可以使用以下表达式:
activity('Actname')?.error?.message
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.