{"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":["case"]}]},{"$$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/case.ff3bee0ef0b56536f706cd69d8643ea48e7d94496f8d93bb0c6e3ac945a36536.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":["\"case\""]}]},{"$$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":["data.conditionGroups"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array<",{"$$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":["条件分岐の条件グループは 1 つだけです（グループ内は AND）。OR を表すには、分岐を追加します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["minItems = 1"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["maxItems = 1"]}]}]},{"$$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":["このノードは ifElse にのみ属します。conditionGroups に指定できるグループは 1 つだけです（グループ内は AND）。OR を表すには、分岐を追加します。最初に一致した分岐が使用されます。"]},{"$$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":["このノードは、「If/else」ノードの ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blocks"]}," に置きます。前にある「要素データを読み取る」ノードの出力 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["read_title.data.text"]}," を読み取ります。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"is_sign_in\",\n  \"type\": \"case\",\n  \"data\": {\n    \"title\": \"Sign-in page\",\n    \"conditionGroups\": [\n      {\n        \"content\": [\n          {\n            \"left\": {\n              \"type\": \"ref\",\n              \"content\": [\n                \"read_title\",\n                \"data\",\n                \"text\"\n              ]\n            },\n            \"operator\": \"contains\",\n            \"right\": {\n              \"type\": \"constant\",\n              \"content\": \"Sign in\"\n            }\n          }\n        ]\n      }\n    ]\n  },\n  \"blocks\": [\n    {\n      \"id\": \"click_sign_in\",\n      \"type\": \"browser_click\",\n      \"data\": {\n        \"title\": \"Click the sign-in button\",\n        \"browserAction\": \"click\",\n        \"browserUi\": {\n          \"inputs\": {\n            \"selectorType\": \"selector\",\n            \"selectorRadio\": \"CSS\",\n            \"selector\": \"#sign-in\"\n          },\n          \"exception\": {\n            \"timeout\": 30000,\n            \"policy\": \"interrupt\"\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/case","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}