{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"例外ブロック"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"例外ブロック","__idx":0},"children":["例外ブロック"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ノードタイプ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["exceptionBlock"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"機能","__idx":1},"children":["機能"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["親ノードの失敗時の処理ポリシーに関連付けられたステップを実行します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"デスクトップクライアントでの設定","__idx":2},"children":["デスクトップクライアントでの設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/exception-block-en.b122acdab2f13976f87aaec78795b75a773e562f867f0a0891771faad302f79d.0538f3a9.webp","alt":"キャンバス上の成功時の分岐と失敗時の分岐"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/exception-block-settings-en.b727f2d1f6296b90dd710198048455becbf554daa9cea20f43fd622cf4432f38.0538f3a9.webp","alt":"親ノードの例外処理の設定"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["MoreLogin デスクトップクライアント V2.73.101 の英語インターフェースで撮影しました。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"入力","__idx":3},"children":["入力"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["パスは、ノード全体を基準とする相対パスです。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"フィールド"},"children":["フィールド"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"型または値"},"children":["型または値"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"スキーマで必須"},"children":["スキーマで必須"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"実行時の既定値"},"children":["実行時の既定値"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明と制約"},"children":["説明と制約"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["minLength = 1"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["maxLength = 128"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["meta"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["省略可能で不透明な表示用の JSON です。不明なネストされたキーは保持され、実行時のセマンティクスはありません。置き換え時に省略すると削除され、操作の対象外のノードでは維持されます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"exceptionBlock\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.title"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.description"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.inputs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.outputs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blocks"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WorkflowNode"]},">"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"モードごとの要件と制限","__idx":4},"children":["モードごとの要件と制限"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["このノードは、「例外処理の分岐を実行」に設定されたノード（data.exception.mode=branchHandle）にのみ属します。そのノードには、ちょうど 2 つの例外ブロックがあります。1 つ目が成功時の分岐、2 つ目が失敗時の分岐です。親ノードが最終的に成功した場合は成功時の分岐だけが実行され、最終的に失敗した場合は失敗時の分岐だけが実行されます。その後、後続のノードの実行に進みます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["構造ノードのフィールドパスは、ノード全体を基準とする相対パスです。end の場合、defaults は data.inputsValues を指します。その他の詳細については、workflow.md を参照してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["検証コード：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_STRUCTURE_INVALID"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"出力","__idx":5},"children":["出力"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["専用の業務出力はありません。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"json-の例","__idx":6},"children":["JSON の例"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["例外ブロックは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.exception.mode"]}," が ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["branchHandle"]}," のノードに属します。1 つ目のブロックが成功時の分岐、2 つ目が失敗時の分岐です。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"open_shop\",\n  \"type\": \"browser_newPage\",\n  \"data\": {\n    \"title\": \"Open the shop in a new tab\",\n    \"browserAction\": \"newPage\",\n    \"browserUi\": {\n      \"inputs\": {\n        \"openMode\": \"url\",\n        \"url\": \"https://example.com/shop\"\n      },\n      \"exception\": {\n        \"policy\": \"handle\",\n        \"retry\": true,\n        \"retryTimes\": 2,\n        \"retryInterval\": 2,\n        \"screenshot\": true\n      }\n    },\n    \"exception\": {\n      \"mode\": \"branchHandle\"\n    }\n  },\n  \"blocks\": [\n    {\n      \"id\": \"open_ok\",\n      \"type\": \"exceptionBlock\",\n      \"data\": {\n        \"title\": \"Shop opened\"\n      },\n      \"blocks\": []\n    },\n    {\n      \"id\": \"open_failed\",\n      \"type\": \"exceptionBlock\",\n      \"data\": {\n        \"title\": \"Shop failed to open\"\n      },\n      \"blocks\": [\n        {\n          \"id\": \"wait_before_next\",\n          \"type\": \"browser_waitTime\",\n          \"data\": {\n            \"title\": \"Wait before the next step\",\n            \"browserAction\": \"waitTime\",\n            \"browserUi\": {\n              \"inputs\": {\n                \"timeoutType\": \"fixed\",\n                \"timeout\": 1000\n              },\n              \"exception\": {\n                \"timeout\": 30000,\n                \"policy\": \"interrupt\"\n              }\n            }\n          }\n        }\n      ]\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/browser-rpa/nodes"},"children":["ノードカタログに戻る"]}]}]},"headings":[{"value":"例外ブロック","id":"例外ブロック","depth":1},{"value":"機能","id":"機能","depth":2},{"value":"デスクトップクライアントでの設定","id":"デスクトップクライアントでの設定","depth":2},{"value":"入力","id":"入力","depth":2},{"value":"モードごとの要件と制限","id":"モードごとの要件と制限","depth":2},{"value":"出力","id":"出力","depth":2},{"value":"JSON の例","id":"json-の例","depth":2}],"frontmatter":{"seo":{"title":"例外ブロック"}},"lastModified":"2026-11-20T14:40:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/browser-rpa/nodes/structure/exception-block","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}