如何配置工作流运行时(Informatica)? [英] How to configure workflow runtime (Informatica)?

查看:117
本文介绍了如何配置工作流运行时(Informatica)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望工作流运行20分钟....如果运行过程在20分钟内未完成,则应立即终止工作流.但是,我只能找到计时器,但它用于在指定的时间(我不是要寻找的时间)之后开始该过程...有人知道如何指定工作流程的持续时间吗?

I would like the workflow to run for 20 minutes....If the running process does not complete within 20 minutes, the workflow should be ended immediately..However, I can only find the timer, but it is used for starting the process after the indicated time which is not I'm looking for...Does anyone know how to specify the duration for the workflow?

推荐答案

[已更新,以涵盖完整的方案并涵盖Koushik Sinharoy在评论中提出的问题]

[updated to cover complete scenario and cover issues raised by Koushik Sinharoy in comments]

您可以使用计时器来实现:

You can achieve it using the timer:

  1. 将一个链接到 Start 任务,并将其设置为在20分钟内运行与您的会话并行.
  2. 具有 Decision任务,其中将输入链接的设置为 OR .每当任何前面的任务结束时,这都会触发该决定,因此您的会话将完成或计时器用完(无论先发生什么).
  3. Decision 条件设置为 $ s_your_session.Status = SUCCEEDED .
  4. Decision任务链接到 Control Task .
  5. Control任务设置为 Fail parent .
  6. 将条件 $ Decision.Condition = False 添加到 Decision任务 Control任务之间的链接.
  1. Link one to the Start task and set it to run for 20 minutes in parallel with your session.
  2. Have a Decision task with Treat the input links as set to OR. This will trigger the decision whenever any of the preceeding task ends, so either your session will get completed or timer runs out (whatever happens first).
  3. Set the Decision condition to $s_your_session.Status = SUCCEEDED.
  4. Link the Decision task to Control Task.
  5. Set Control task to Fail parent.
  6. Add a condition $Decision.Condition = False to the link between Decision task and Control task.

这应该是结果:

Start--->s_your_session--\
    \                     > Decision [OR] ---(False)---> Control Task [Fail parent]
     \-->timer-----------/

感谢库希克·辛哈罗伊(Koushik Sinharoy)的讲话!

Thanks Koushik Sinharoy for the remarks below!

这篇关于如何配置工作流运行时(Informatica)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆