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

UIP Maestro 流事件

“uip Maestro 流事件”的语法和选项,可读取在 Flow 流程执行期间引发的租户范围内的事件或单记录事件。

uip maestro flow incident将事件(在流程执行期间引发的未处理错误)读取为租户范围内的摘要或按 ID 划分的单个记录。即使文件和侧边栏条目显示为incidents ,命令名称也为单数 ( incident )。

所有子命令都需要uip login并遵循全局选项。退出代码遵循标准合同。

此页面与uip maestro bpmn incident共享其实现 — 相同的缺陷和修复程序适用于这两个页面。

大纲​

uip maestro flow incident summary [--folder-key <key>] [-l <limit>] [--offset <n>] [--process-key <k>] [--status <status>] [--severity <severity>]
uip maestro flow incident get <incident-id> --folder-key <key>
uip maestro flow incident summary [--folder-key <key>] [-l <limit>] [--offset <n>] [--process-key <k>] [--status <status>] [--severity <severity>]
uip maestro flow incident get <incident-id> --folder-key <key>

对于限定在特定流程或实例范围内的事件,请使用:

uip Maestro 流事件摘要​

获取 Flow 流程中租户范围内的事件汇总。

参数​

无。

选项​

选项默认描述
--folder-key <key>—将摘要的范围限定到一个文件夹。对于租户范围内的汇总,请省略。
-l, --limit <n>—要返回的项目数 (1-10000)。
--offset <n>0要跳过的项目数 (0-1000000)。
--process-key <k>—按流程键值筛选。
--status <status>—按事件状态筛选。
--severity <severity>—按事件严重性筛选。

数据形状 ( --output json ) ​

{
  "Code": "IncidentSummary",
  "Data": [ /* array of incident summaries */ ]
}
{
  "Code": "IncidentSummary",
  "Data": [ /* array of incident summaries */ ]
}

返回的列表将未经筛选 — 使用--output-filter和 JMESPath 查询来提取特定字段。

uip Maestro 流事件获取​

按 ID 获取单个事件。

参数​

  • <incident-id> (必填) — 事件 ID。自动进行 URL 编码。

选项​

  • --folder-key <key> (必填) — 文件夹密钥。

数据形状​

{
  "Code": "IncidentGet",
  "Data": { /* incident details */ }
}
{
  "Code": "IncidentGet",
  "Data": { /* incident details */ }
}

示例​

# Tenant-wide incident rollup
uip maestro flow incident summary

# Extract just the incident IDs and counts
uip maestro flow incident summary --output-filter "[*].{processKey:processKey,count:incidentCount}"

# Get a specific incident
uip maestro flow incident get "inc_abcdef1234" --folder-key <folder-key>
# Tenant-wide incident rollup
uip maestro flow incident summary

# Extract just the incident IDs and counts
uip maestro flow incident summary --output-filter "[*].{processKey:processKey,count:incidentCount}"

# Get a specific incident
uip maestro flow incident get "inc_abcdef1234" --folder-key <folder-key>

另请参阅​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新