UiPath Documentation
uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

uip api-workflow bindings

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 api-workflow bindings sync
  • 选项
  • 示例
  • 数据形状(--输出 json)
  • 相关内容
  • 另请参阅

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新