我当前有一个逻辑应用程序,自该逻辑应用程序以来,该逻辑应用程序具有空的错误路径。我使用条件的唯一原因是当条件为假时 LogicApp 应该停止。当达到特定条件/语句时是否有更好的替代方法来停止逻辑应用?
最佳答案
您可以使用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.
您可以引用我的逻辑应用:
这是我的测试结果,看起来没有问题:
关于azure - 有没有比条件语句更好的替代方法来停止逻辑应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65620586/