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

uip Insights 警示交付

"uip Insights Alert-deliveries" 的语法和选项,可读取 UiPath Insights 警示传递元数据。

uip insights alert-deliveries 读取有关警示通知发送位置的元数据。这是一个只读、仅按 ID 的表面 — 没有list动词;请先从alerts或alert-history行中查找deliveryId 。

备注:

根据设计,系统永远不会返回收件人身份,即使采用脱敏形式也是如此。使用 recipientCount 确认交付已配置收件人。

大纲​

uip insights alert-deliveries get <delivery-id>
uip insights alert-deliveries get <delivery-id>

该动词遵循全局选项和标准退出代码。它不接受 -t, --tenant — 它使用在 uip login 期间选择的租户。

uip Insights 警报传递获取​

按整数 ID 获取一个警示传递的元数据。

参数​

  • <delivery-id> (必填) — 警示交付的整数 ID( alerts或alert-history行中的deliveryId字段)。

示例​

uip insights alert-deliveries get 7
uip insights alert-deliveries get 7

数据形状​

{
  "Code": "InsightsAlertDeliveryGet",
  "Data": {
    "id": 7,
    "type": "email",
    "recipientCount": 3,
    "tenantMatches": true
  }
}
{
  "Code": "InsightsAlertDeliveryGet",
  "Data": {
    "id": 7,
    "type": "email",
    "recipientCount": 3,
    "tenantMatches": true
  }
}
  • recipientCount — 已配置的收件人数量。0 表示损坏的交付(后端拒绝保存收件人列表为空的交付,因此显示 0 的实时交付表示存在缺陷,而不是有意静默的缺陷)。
  • tenantMatches — 交付的租户是否与活动会话的租户匹配。这是一个健全的布尔值,而不是租户 ID 本身; false 值表示存在后端缺陷,因为路由的作用域已经是您的租户。

404 意味着交付 ID 不存在,或不属于其他租户 — 无法从响应中区分这两个原因。

  • 警示— 警示定义行上deliveryId的来源。
  • Alert-history — 触发器历史记录行中deliveryId的来源。

另请参阅​

  • 大纲​
  • uip Insights 警报传递获取​
  • 参数​
  • 示例​
  • 数据形状​
  • 相关内容​
  • 另请参阅​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新