Run-after:優雅處理失敗
Power Automate 中級
Dani Kahil
Solution Architect | Microsoft MVP
Power Automate 沒有 try-catch
沒有
try / catch
關鍵字
每個動作都有
run-after
設定
Run-after=哪些前一步狀態會觸發本步驟
四種 run-after 狀態
is successful
— 預設
has failed
— 動作發生錯誤
is skipped
— 被 Condition 或 Scope 略過
has timed out
— 超過時限
並行分支作為失敗處理樣式
$$
在高風險動作後加入
parallel branch
將其 run-after 設為
has failed
或
has timed out
原本路徑維持預設
is successful
最常見的 run-after 錯誤
失敗處理器若用預設值,永遠不會觸發
新分支會沿用
is successful
預設
重試:並行分支帶來備援
用 run-after 串接在
不同 connector 上重試
並行分支讓原路徑維持獨立
一起來練習吧!
Power Automate 中級
Preparing Video For Download...