{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/vi/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Nhánh"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"nhánh","__idx":0},"children":["Nhánh"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Loại nút ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["case"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"chức-năng","__idx":1},"children":["Chức năng"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Chạy một nhánh khi mọi điều kiện trong nhóm của nhánh đều được thỏa mãn."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"cấu-hình-trong-ứng-dụng-máy-tính","__idx":2},"children":["Cấu hình trong ứng dụng máy tính"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/case.ff3bee0ef0b56536f706cd69d8643ea48e7d94496f8d93bb0c6e3ac945a36536.0538f3a9.webp","alt":"Cấu hình nút \"Nhánh\" trong ứng dụng máy tính"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ảnh chụp từ giao diện tiếng Anh của MoreLogin Desktop V2.73.101."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"đầu-vào","__idx":3},"children":["Đầu vào"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Đường dẫn được tính tương đối so với toàn bộ nút."]},{"$$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":"Trường"},"children":["Trường"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Kiểu hoặc giá trị"},"children":["Kiểu hoặc giá trị"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Bắt buộc theo schema"},"children":["Bắt buộc theo schema"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Giá trị mặc định khi thực thi"},"children":["Giá trị mặc định khi thực thi"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Mô tả và giới hạn"},"children":["Mô tả và giới hạn"]}]}]},{"$$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":["Có"]},{"$$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":["Không"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["JSON hiển thị tùy chọn, không trong suốt (opaque). Các khóa lồng nhau không xác định được giữ nguyên; không có ngữ nghĩa khi chạy. Bỏ qua trường này khi thay thế sẽ xóa nó; các nút không bị động đến vẫn giữ trường này."]}]},{"$$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":["Có"]},{"$$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":["Có"]},{"$$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":["Không"]},{"$$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":["Không"]},{"$$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":["Không"]},{"$$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":["Không"]},{"$$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":["Có"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Một nhánh điều kiện chỉ có một nhóm điều kiện (AND trong nhóm). Để biểu diễn OR, hãy thêm nhánh. ",{"$$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":["Có"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"yêu-cầu-theo-chế-độ-và-giới-hạn","__idx":4},"children":["Yêu cầu theo chế độ và giới hạn"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Nút này chỉ thuộc về ifElse. conditionGroups chỉ có thể có một nhóm (AND trong nhóm). Để biểu diễn OR, hãy thêm nhánh. Nhánh khớp đầu tiên sẽ được dùng."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Đường dẫn trường của nút cấu trúc được tính tương đối so với toàn bộ nút. Với end, defaults trỏ đến data.inputsValues. Để biết các chi tiết khác, xem workflow.md."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Mã lỗi xác thực: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_STRUCTURE_INVALID"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"đầu-ra","__idx":5},"children":["Đầu ra"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Không có đầu ra nghiệp vụ riêng."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ví-dụ-json","__idx":6},"children":["Ví dụ JSON"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Đặt nút này trong ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blocks"]}," của một nút \"Nếu/ngược lại\". Nút này đọc ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["read_title.data.text"]},", là đầu ra của một nút \"Đọc dữ liệu phần tử\" đứng trước."]},{"$$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":"/vi/browser-rpa/nodes"},"children":["Quay lại danh mục nút"]}]}]},"headings":[{"value":"Nhánh","id":"nhánh","depth":1},{"value":"Chức năng","id":"chức-năng","depth":2},{"value":"Cấu hình trong ứng dụng máy tính","id":"cấu-hình-trong-ứng-dụng-máy-tính","depth":2},{"value":"Đầu vào","id":"đầu-vào","depth":2},{"value":"Yêu cầu theo chế độ và giới hạn","id":"yêu-cầu-theo-chế-độ-và-giới-hạn","depth":2},{"value":"Đầu ra","id":"đầu-ra","depth":2},{"value":"Ví dụ JSON","id":"ví-dụ-json","depth":2}],"frontmatter":{"seo":{"title":"Nhánh"}},"lastModified":"2026-11-20T14:40:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/vi/browser-rpa/nodes/structure/case","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}