有没有更好的替代条件语句来停止逻辑应用程序?
Is there an better alternative to Condition statement to stop Logic App?
我目前有一个逻辑应用程序,自逻辑应用程序以来它有一个空的错误路径。我使用条件的唯一原因是当条件为假时 LogicApp 应该停止。当达到某个 condition/statement 时,是否有更好的方法来停止逻辑应用程序?
您可以使用 Terminate action:
This action stops the run for a workflow instance, cancels any actions in progress, skips any remaining actions, and returns the specified status. For example, you can use the Terminate action when your logic app must exit completely from an error state. This action doesn't affect already completed actions and can't appear inside Foreach and Until loops, including sequential loops.
可以参考我的逻辑应用:
这是我的测试结果,好像没有问题:
我目前有一个逻辑应用程序,自逻辑应用程序以来它有一个空的错误路径。我使用条件的唯一原因是当条件为假时 LogicApp 应该停止。当达到某个 condition/statement 时,是否有更好的方法来停止逻辑应用程序?
您可以使用 Terminate action:
This action stops the run for a workflow instance, cancels any actions in progress, skips any remaining actions, and returns the specified status. For example, you can use the Terminate action when your logic app must exit completely from an error state. This action doesn't affect already completed actions and can't appear inside Foreach and Until loops, including sequential loops.
可以参考我的逻辑应用:
这是我的测试结果,好像没有问题: