Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Power Automate for desktopの例外処理について
Search
MiyakeMito
February 16, 2023
Technology
1.1k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Power Automate for desktopの例外処理について
MiyakeMito
February 16, 2023
More Decks by MiyakeMito
See All by MiyakeMito
Power Automateアップデート情報
miyakemito
0
380
マルチステージとAI承認について
miyakemito
0
180
Copilot Studioについて
miyakemito
7
10k
Dataverseの検索列について
miyakemito
2
2.1k
AI Builder について
miyakemito
3
1.2k
Microsoft Copilot Studio についてざっくり説明
miyakemito
2
1.9k
Power Automateのデータ操作(Data Operation)について (Ver.モダンデザイナー)
miyakemito
5
4.2k
JSON攻略法.pdf
miyakemito
13
7.4k
ガンダムBotを1分でつくってみせろよ
miyakemito
1
930
Other Decks in Technology
See All in Technology
CI/CDではもう遅い - 人とAIが迂回しないDevSecOps Verify基盤の再設計 -
kintotechdev
1
280
Why Agent Cost Needs Observability
nttcom
0
170
負債のメタファと2026年 / Debt Metaphor in Agentic Engineering Age 202609 Edition
twada
PRO
14
7.6k
What the customer really needed
kawaguti
PRO
3
230
メルカリにおけるAI時代の高速プロトタイピング基盤「Arca」
ryotarai
15
10k
開発投資の期待値を上げるプロダクトロードマップづくり ~プロダクトエンジニアが越境して事業を伸ばす~
kekekenta
1
250
白金鉱業Meetup Vol.25 アウトカムが二値のデータに対するCausal Impact
brainpadpr
0
310
Vibe Coding で作ったプロダクトをどう安全に動かすか / How to Safely Run Products Built with Vibe Coding
glidenote
0
710
PQC移行の今 -- IETF からみた現在地
satokan
3
380
サーバーレスをどこまで使う? WebRTC対戦ゲームで選んだVPSとの共存設計
kaidouji85
0
450
「今盗んで、後で解く」に備える ― AWSのポスト量子暗号入門
yama3133
2
250
今話題のAI「Jev」って何? 宇宙最速で学ぶ会
minorun365
PRO
34
22k
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
590
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Optimising Largest Contentful Paint
csswizardry
37
4k
Odyssey Design
rkendrick25
PRO
2
820
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
330
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
510
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
290
Fireside Chat
paigeccino
43
4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
Transcript
Power Automate for desktop 例外処理をマスター しよう RPACommunity ライトニングトーク大会 vol.5
Miyake 気ままに勉強会 https://kimamani.connpass.com/ @MiTo60448639 https://qiita.com/MiyakeMito 株式会社アイシーソフト Technical Manager www.icsoft.jp https://speakerdeck.com/
miyakemito 次回は 2023/02/18(土) 20:00 〜 21:30 Microsoft MVP 清水 優吾さんによる 「Power Automate って何か説明できますか?」です
免責事項 当スライドは、 2023年2月現在のバージョンでの情報です 今後のアップデート等により、 仕様変更する可能性があります。 また、私の見解による内容が含まれます 間違いなどありましたらご指摘ください。
PAfdの例外処理
PAfdの例外処理とは 予期しない状況や問題が発生した時に 処理および、回復するためのメカニズム
✓ 自動化している処理でエラーが起きたらメールで通知 ✓ 処理が成功するまで何度でも繰り返す ✓ 繰り返し処理の終了を検出する ・・・ など PAfd 例外処理
の活用例
それぞれのアクションで設定 7 特定の例外タイプ(詳細): アクション毎に想定される(起こりうる) エラーケースが列挙されている すべてのエラー: アクションが失敗した場合、 エラーの内容に関係なく例外処理を設定できる アクションが失敗した場合、指定の[間隔]で、[回数]分再試行される 全てのエラーの例外処理より、特定の例外処理が優先される
例外処理をうまく使えば、 通常の処理ではできないことも実現できます
特定の例外処理の例 8 ファイルのコピー ➢ ソース フォルダーが存在しません ➢ 宛先フォルダーが存在しません ➢ ファイルが見つかりません
➢ ファイルをコピーできません Web サービスを呼び出します ➢ Web Serviceの呼び出しエラーです ➢ ディレクトリが存在しません ➢ カスタム ヘッダーに無効なヘッダーがあります
例外処理でできること 9 [変数の設定]と[サブフローの実行]が実行できる アクションが失敗した場合の処理の続行を設定できる ➢ スローエラー(Default):フローがエラーで終了する ➢ 次のアクションに移動 ➢ アクションの繰り返し
➢ ラベルに移動 複数アクションを設定可能、上から順に実行される 例外処理の流れ
ブロックアクションで 例外処理 ブロック エラー発生時 ~ End で囲むと 1つの例外処理ルールをブロック全体に適用可能 10 それぞれのアクションの
例外処理ルールが優先される
ブロックアクションで 例外処理 11 [変数の設定]と[サブフローの実行]が実行できる アクションが失敗した場合の処理の続行を設定できる ➢ スローエラー(Default):フローがエラーで終了する ➢ 次のアクションに移動 ➢
アクションの繰り返し ➢ ラベルに移動 ➢ ブロックの先頭に移動する ➢ ブロックの末尾に移動する 複数アクションを設定可能、上から順に実行される
例外処理を使うとフローの 可読性が・・・ 12 例外処理を設定したアクションは マークされるよ! コメントを残すのもオススメ!
ありがとうございました