首页 > 解决方案 > ADF:捕获以前的任务详细信息会引发错误

问题描述

我正在尝试从变量活动或网络请求活动中的失败活动中捕获错误以发送电子邮件。我正在使用“@activity().error.message”来捕获它。它抛出附加的错误。

感谢您提供任何帮助来解决此问题。谢谢你。

错误信息

Web Activity 动态内容: 在此处输入图像描述

标签: azure-data-factoryazure-data-factory-2azure-data-factory-pipelineadf-task-flow

解决方案


Please try to use this expression:

@activity('Activity name').Error.Message

Update

I test this expression and it works fine.

enter image description here

enter image description here

enter image description here


推荐阅读