简体   繁体   English

ADF - 从执行管道活动中获取错误消息

[英]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.

相关问题 ADF 管道在 10% 的时间内因超时错误而失败 - ADF pipeline fails 10% of the time with a Timeout Error Azure 管道在使用 System.Diagnostics 获取 Activity.Current.Id 时抛出 SSL 错误 - Azure pipeline throws SSL error when using System.Diagnostics to get Activity.Current.Id 如何动态知道天气 ADF 管道是否在队列中 - How to know weather ADF pipeline is in queue dynamically 计算 ADF 流水线中的工作日数 - Calculate number of working days in ADF pipeline 如何从 Firebase 中删除此错误消息? - How to get rid of this error message from Firebase? ADF - 迭代 select Output 到复制活动 - ADF - Iterative select Output to Copy activity SQL 在 ADF 中使用脚本活动进行查询 - SQL Query using script activity in ADF 从 ADF Webhook 活动调用 Azure Automation Runbook - 失败并显示“无法将参数绑定到参数‘InputObject’,因为它是 null。” - Calling Azure Automation runbook from ADF Webhook activity - Fails with "Cannot bind argument to parameter 'InputObject' because it is null." 我们可以从管道 azure 突触在无服务器池中执行 sql 查询吗? - can we execute sql query in serverless pool from pipeline azure synapse? 如何从 Azure 管道中的 Azure 应用服务获取价值 - How to get value from Azure App Service from Azure pipeline
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM