{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ru/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":["browser_applySubProcess"]}]},{"$$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/apply-sub-process.515ac774be65e1f0e4b82b10b3c7dc215b0a5eac8663d188f8f5b995a5ab0cd7.0538f3a9.webp","alt":"Настройки узла «Запустить дочерний сценарий» в настольном клиенте"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Снимок сделан в английском интерфейсе MoreLogin Desktop V2.73.101."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"входные-данные","__idx":3},"children":["Входные данные"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Эти поля указываются в ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.browserUi.inputs"]},"."]},{"$$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":["processId"]}]},{"$$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":["processVariable"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}," / 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":["Начальные параметры"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"требования-к-режимам-и-ограничения","__idx":4},"children":["Требования к режимам и ограничения"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Обязательное поле: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["processId"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["processId должен быть статическим и присутствовать в dependencies как точное закрепление. processVariable должен соответствовать типам переменных дочернего сценария."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Код ошибки проверки: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_NODE_INPUT_INVALID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["processId является ID реального шаблона, закреплённого в качестве зависимости. Это не может быть примерное значение вроде demo_login/demo_collect или динамическая ссылка. processVariable задаётся как {key,value}[] или как объект, а имена его полей соответствуют начальным переменным дочернего сценария."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Код ошибки проверки: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_NODE_INPUT_INVALID"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ссылки-во-входных-данных","__idx":5},"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":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["processId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["processVariable"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"выходные-данные","__idx":6},"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":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["processId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["version"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["runId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["outputs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ссылайтесь на опубликованные поля в виде ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["${nodeId.data.field}"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"пример-json","__idx":7},"children":["Пример JSON"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Полный объект узла для массива ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["nodes"]}," сценария или для ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blocks"]}," другого узла. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]}," является начальным параметром, объявленным в ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["workflow.variables"]},". Замените ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["processId"]}," на ID своего дочернего шаблона и укажите тот же шаблон в ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dependencies"]}," шаблона как ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{processId, revisionId}"]},"."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"call_login\",\n  \"type\": \"browser_applySubProcess\",\n  \"data\": {\n    \"title\": \"Run the shared sign-in workflow\",\n    \"browserAction\": \"applySubProcess\",\n    \"browserUi\": {\n      \"inputs\": {\n        \"processId\": \"1890000000000000001\",\n        \"processVariable\": {\n          \"username\": \"${username}\"\n        }\n      }\n    }\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ru/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":"Выходные данные","id":"выходные-данные","depth":2},{"value":"Пример JSON","id":"пример-json","depth":2}],"frontmatter":{"seo":{"title":"Запустить дочерний сценарий"}},"lastModified":"2026-11-20T14:40:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ru/browser-rpa/nodes/flow/apply-sub-process","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}