[英]How to configure workflow runtime (Informatica)?
我希望工作流运行 20 分钟......如果运行过程在 20 分钟内没有完成,工作流应该立即结束......但是,我只能找到计时器,但它用于启动过程在不是我正在寻找的指定时间之后......有谁知道如何指定工作流程的持续时间?
[updated to cover complete scenario and cover issues raised by Koushik Sinharoy in comments] [更新以涵盖完整场景并涵盖 Koushik Sinharoy 在评论中提出的问题]
You can achieve it using the timer:您可以使用计时器实现它:
Start
task and set it to run for 20 minutes in parallel with your session.Start
任务并将其设置为与您的会话并行运行 20 分钟。Decision task
with Treat the input links as
set to OR
.Treat the input links as
设置为OR
的Decision task
。 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).Decision
condition to $s_your_session.Status = SUCCEEDED
.Decision
条件设置为$s_your_session.Status = SUCCEEDED
。Decision task
to Control Task
.Decision task
链接到Control Task
。Control task
to Fail parent
.Control task
设置为Fail parent
。$Decision.Condition = False
to the link between Decision task
and Control task
.$Decision.Condition = False
添加到Decision task
和Control task
之间的链接。 This should be the result:结果应该是这样:
Start--->s_your_session--\
\ > Decision [OR] ---(False)---> Control Task [Fail parent]
\-->timer-----------/
Thanks Koushik Sinharoy for the remarks below!感谢 Koushik Sinharoy 的以下评论!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.