uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
uip Maestro bpmn 事件
“uip Maestro bpmn 事件”的语法和选项,可读取在 Maestro BPMN 流程执行期间引发的租户范围内的事件或单记录事件。
uip maestro bpmn incident 将事件(在 Maestro 流程执行期间引发的未处理错误)读取为租户范围内的摘要或按 ID 划分的单个记录。即使文件和侧边栏条目显示为 incident,命令名称仍为单数 (incidents)。它已在 bpmn 分支下注册 — 没有空的 uip maestro incident。
大纲
uip maestro bpmn incident summary [--folder-key <key>] [-l <limit>] [--offset <n>] [--process-key <key>] [--status <status>] [--severity <severity>]
uip maestro bpmn incident get <incident-id> -f, --folder-key <key>
uip maestro bpmn incident summary [--folder-key <key>] [-l <limit>] [--offset <n>] [--process-key <key>] [--status <status>] [--severity <severity>]
uip maestro bpmn incident get <incident-id> -f, --folder-key <key>
对于限定在特定流程或实例范围内的事件,请使用:
uip maestro bpmn processes incidents <process-key>— 一个流程的所有事件。uip maestro bpmn instance incidents <instance-id>— 一个实例的所有事件。
uip Maestro bpmn 事件摘要
获取 Maestro 流程中的事件汇总。
参数
无。
选项
| 选项 | 描述 |
|---|---|
--folder-key <key> | 文件夹密钥。可选 — 如需租户范围内的汇总,则可省略。 |
-l, --limit <number> | 要返回的项目数 (1-10000)。 |
--offset <number> | 要跳过的项目数 (0-1000000)。默认 0。 |
--process-key <process-key> | 按流程键值筛选。 |
--status <status> | 按事件状态筛选。 |
--severity <severity> | 按事件严重性筛选。 |
数据形状 ( --output json )
{
"Code": "IncidentSummary",
"Data": [ /* array of incident summaries */ ]
}
{
"Code": "IncidentSummary",
"Data": [ /* array of incident summaries */ ]
}
uip Maestro bpmn 事件获取
按 ID 获取单个事件。
参数
<incident-id>(必填) — 事件 ID。自动进行 URL 编码。
选项
| 选项 | 描述 |
|---|---|
-f, --folder-key <key> | 文件夹密钥。必需。 |
数据形状
{
"Code": "IncidentGet",
"Data": { /* incident details */ }
}
{
"Code": "IncidentGet",
"Data": { /* incident details */ }
}
示例
# Tenant-wide rollup
uip maestro bpmn incident summary
# Filter by status and severity, paginated
uip maestro bpmn incident summary --status Open --severity High --limit 100
# Extract a terse view
uip maestro bpmn incident summary --output-filter "[*].{processKey:processKey,count:incidentCount}"
# Fetch one
uip maestro bpmn incident get "inc_abcdef1234" --folder-key <folder-key>
# Tenant-wide rollup
uip maestro bpmn incident summary
# Filter by status and severity, paginated
uip maestro bpmn incident summary --status Open --severity High --limit 100
# Extract a terse view
uip maestro bpmn incident summary --output-filter "[*].{processKey:processKey,count:incidentCount}"
# Fetch one
uip maestro bpmn incident get "inc_abcdef1234" --folder-key <folder-key>
另请参阅
uip maestro bpmn instance incidents— 一个实例的事件uip maestro bpmn processes incidents— 一个流程定义的事件uip maestro bpmn instance retry— 修复发生故障的实例- Maestro 概述