Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的 aws 帐户中创建了以下 Step 函数。AddFun我有一个要求,当SayHi状态失败并且SayHello状态以并行状态传递时,我需要进入状态。AWS stepfunction 允许我们这样做吗?还是有解决办法来实施它?
AddFun
SayHi
SayHello
阶跃函数
您可以将捕手添加到SayHi/ FailSayHi(针对特定错误,因此您不会忽略关键错误),然后整个并行状态将成功。在错误捕获器中,您可以添加一些有关错误的数据,以便在并行状态完成后(例如使用选择状态)处理它(如果需要)。
FailSayHi
捕手参考:https ://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-errors.html#amazon-states-language-fallback-states