现有执行的 AWS Update/Upgrade Step Functions

AWS Update/Upgrade Step Functions for existing Executions

我们一直在考虑将 AWS Step Functions 用于审批工作流,这些工作流可以 运行 具有回调的任务并等待人工操作和其他耗时的操作。 Step Functions 的文档说最大执行时间有硬配额,即 1 年。这似乎是合理的限制。

但是,我们无法找到有关更新 Step Functions 后挂起的执行会发生什么情况的任何信息。有什么办法可以将现有执行升级到更新版本的工作流定义?对于运行较长时间的执行,大概率会遇到需要更新fix workflows的需求,所以对于那些还没有完成的更新执行计划是很自然的。

AWS Step Functions 支持吗?如果不是,推荐的模式是什么(以及一些信息的来源)如何处理长时间的 运行ning 执行?

谢谢

我找到了一份文档,说当前的执行在之前的定义下完成。

When you update a state machine, your updates are eventually consistent. After a few seconds or minutes, all newly started executions will reflect your state machine's updated definition and roleARN. All currently running executions will run to completion under the previous definition and roleARN before updating.

https://docs.aws.amazon.com/step-functions/latest/dg/getting-started.html#update-state-machine