简体   繁体   English

ADF 活动成功不会继续进行下一个活动

[英]ADF activity succeeded does not move on to the next activity

I have a Web activity that performs a GET operation to an endpoint.我有一个 Web 活动,它对端点执行 GET 操作。 I have set it up to do something On Failure (which works just fine) and another set of action upon Success.我已将其设置为在失败时执行某些操作(效果很好)并在成功时执行另一组操作。 But this last part gets skipped entirely even though the output of the Web action is Succeeded.但是,即使 Web 操作的 output 成功,最后一部分也会被完全跳过。 Here is shown the succeeded status and my config enter image description here这里显示成功状态和我的配置在这里输入图像描述

I tried removing and re-adding the On Success connector, but yielded no different results.我尝试删除并重新添加 On Success 连接器,但没有产生不同的结果。

Both dependencies of set runtime status cannot end as succeeded. set runtime status的两个依赖项都不能成功结束。 You need to use a combination of skipped/completed states: https://learn.microsoft.com/en-us/azure/data-factory/tutorial-pipeline-failure-error-handling您需要使用跳过/完成状态的组合: https://learn.microsoft.com/en-us/azure/data-factory/tutorial-pipeline-failure-error-handling

From the pipeline image, I think it should move on with success.从管道图像来看,我认为它应该会成功。 Can you please cross check what is status code of web activity and is it returning something back?您能否交叉检查 web 活动的状态代码是什么,它是否返回了一些东西? Is the status code be 2xx?状态码是2xx吗? If I were you could have tried to check with the "Upon Completion" option and see it works.如果我是,您可以尝试检查“完成后”选项并查看它是否有效。

Based on your flow, it would never proceed ahead:根据您的流程,它永远不会继续进行: 在此处输入图像描述

Because as per your logic to proceed to the Set run time, Web activity 1 AND Web activity 2 should be success but that can never be the case since web activity 2 can be a success only if web activity 1 has failed thereby not proceeding further.因为根据您继续设置运行时的逻辑,Web 活动 1 和 Web 活动 2 应该成功,但情况永远不会是这样,因为 web 活动 2 只有在 web 活动 1 失败后才能成功,因此不会继续进行。

The below blog explains how to handle this: https://datasharkx.wordpress.com/2021/08/19/error-logging-and-the-art-of-avoiding-redundant-activities-in-azure-data-factory/下面的博客解释了如何处理这个: https://datasharkx.wordpress.com/2021/08/19/error-logging-and-the-art-of-avoiding-redundant-activities-in-azure-data-factory /

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ADF - 迭代 select Output 到复制活动 - ADF - Iterative select Output to Copy activity SQL 在 ADF 中使用脚本活动进行查询 - SQL Query using script activity in ADF ADF - 如何在复制活动中禁用映射 - ADF - How to disable mapping in Copy Activity ADF 复制活动不复制所有数据 - ADF Copy Activity Not copying all data ADF - 从执行管道活动中获取错误消息 - ADF - Get error message from execute pipeline activity 如何使用 .net sdk 在 Adf 复制活动中使用查询? - How to use query in Adf copy activity by using .net sdk? ADF - 访问脚本任务活动 output 中使用的 #table 或临时表,以作为源在复制活动中使用 - ADF - Access #table or Temp table used in Script task activity output to be used in Copy activity as source 使用ADF Copy Activity,我需要将.zip中的.seq文件解压并转换为csv - Using ADF Copy Activity, I need to unzip and convert .seq files in .zip to csv 当 CSV 在 header 列中有空间时,ADF 复制活动失败 CSV 到 Parquet - ADF Copy Activity Fails CSV to Parquet when CSV has space in header column 如何将 AsyncTask 从 Adapter onBindViewHolder() 移动到 Activity onChildEventListener - How to move AsyncTask FROM Adapter onBindViewHolder() TO Activity onChildEventListener
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM