- 概述
- 开始使用
- 概念
- 使用 UiPath CLI
- 操作指南
- CI/CD 方法
- 命令参考
- 迁移
- 参考与支持
Syntax and options for `uip api-workflow bindings sync`, which generates a bindings_v2.json file from an API Workflow JSON for solutions authored outside Studio Web.
uip api-workflow bindings generates the per-project bindings_v2.json file that uip solution resources refresh needs to populate a solution's resource catalogue. Studio Web computes this file in-memory whenever a workflow is opened in the designer; for agent-authored workflows that never get opened in Studio, bindings sync does the same translation offline — it walks the workflow, extracts IntSvc connector activities (skipping Http-kind / implicit-connection activities), dedupes by connection UUID, and writes bindings_v2.json next to the workflow file.
大纲
uip api-workflow bindings sync --workflow <path>
uip api-workflow bindings sync --workflow <path>
uip api-workflow bindings sync
选项
| 标记 | 描述 |
|---|---|
--workflow <path> | Required. Path to the API Workflow JSON file. bindings_v2.json is written into the same directory. |
示例
uip api-workflow bindings sync --workflow ./my-workflow/Workflow.json
uip api-workflow bindings sync --workflow ./my-workflow/Workflow.json
数据形状(--输出 json)
{
"Code": "BindingsSync",
"Data": {
"BindingsPath": "/work/my-workflow/bindings_v2.json",
"ResourceCount": 3,
"ActivitiesVisited": 12,
"IntSvcActivities": 4,
"DuplicatesCollapsed": 1,
"ResourceBindings": [],
"PreservedResources": []
}
}
{
"Code": "BindingsSync",
"Data": {
"BindingsPath": "/work/my-workflow/bindings_v2.json",
"ResourceCount": 3,
"ActivitiesVisited": 12,
"IntSvcActivities": 4,
"DuplicatesCollapsed": 1,
"ResourceBindings": [],
"PreservedResources": []
}
}
PreservedResources lists any existing bindings_v2.json entries that were kept as-is because they didn't correspond to an IntSvc activity found during this walk (for example, a resource referenced only by a Http-kind activity).
相关内容
- uip solution resources — consumes
bindings_v2.jsonto populate the solution resource catalogue and per-user debug overwrites. - uip is connections — get a connection UUID to pass into an activity stub before running
bindings sync. - uip api-workflow registry — emit the connector activity stubs that
bindings syncwalks.