List the children of a sub-workflow group.
GET/api/v1/workflows/{workflow_id}/spawn-groups/{spawn_group_id}/childrenworkflows:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The group's children in the order of their entry (spawn_entry_id, then ordinal; no other order is offered), each with its status, the workflow it runs, who holds its open action requests, and whether you may cancel or force-complete it. Needs View Workflow Spawn Groups. The group's initiator and holders of Manage Other Users Workflow Spawn Groups or View All Workflows see every child; anyone else sees only the children whose workflow they could open. status keeps the children in these statuses (repeat it); spawn_entry_id keeps one entry's children; search matches the subject, row key or output label.
| スコープ | workflows:read |
| 非同期 | いいえ |
| MCP ツール | list_workflow_spawn_group_children |
| Portal の権限 | view_workflow_spawn_groups |
| ページング | keyset |
| 既定の並び順 | spawn_entry_id,ordinal |
| 並べ替えに使えるフィールド | spawn_entry_id, ordinal, spawn_group_child_id |
| フィルター | status, spawn_entry_id |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
workflow_id | path | string | 必須 | |
spawn_group_id | path | string | 必須 | |
search | query | string または null | 任意 | Children whose subject, row key or output label contains this text, without regard to case. |
limit | query | integer | 任意 | 既定値: 50; ≥ 1 |
cursor | query | string | 任意 | |
sort | query | string | 任意 | Comma-separated sort fields, - for descending. |
status | query | string の配列 | 任意 | |
spawn_entry_id | query | string の配列 | 任意 | |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json object |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
410 | cursor_expired | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
200 の本文
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
items | SpawnGroupChild の配列 | 必須 | |
next_cursor | string または null | 必須 | |
warnings | object の配列 | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
SpawnGroupChild
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
assignees | WorkflowRecipient の配列 | 必須 | The first three holders of the child's open action requests, oldest request first. |
can_be_cancelled_by_caller | boolean | 必須 | The caller may manage the group and the child is outstanding. |
can_be_force_completed_by_caller | boolean | 必須 | The caller may manage the group, the group is not yet collected and the child is outstanding, failed or timed out. |
child_workflow_id | string または null | 必須 | The workflow the child runs; null until it starts. |
child_workflow_item_id | string または null | 必須 | |
end_reason | string または null | 必須 | Who or what ended the child, such as manual_cancel:<user id>, force_completed:<user id>, proceed_now:<user id> or deadline; null while it runs. |
finished_at | string (date-time) または null | 必須 | When the child was ended or completed; null while it runs. |
is_hidden | boolean | 必須 | The step started the child hidden: it runs in the background. |
open_action_count | integer | 必須 | The child's action requests that are neither answered nor cancelled. ≥ -2147483648; ≤ 2147483647 |
open_holder_count | integer | 必須 | How many users and groups hold them; assignees names the first three. ≥ -2147483648; ≤ 2147483647 |
ordinal | integer | 必須 | The child's position among the children of its entry. ≥ -2147483648; ≤ 2147483647 |
output_label | string または null | 必須 | |
row_key | string または null | 必須 | The grid row (its ownid) or attachment (its document id) the child was started for; null for an entry that starts one child. |
spawn_entry_id | string | 必須 | |
spawn_group_child_id | string | 必須 | |
started_at | string (date-time) または null | 必須 | |
status | string | 必須 | pending, starting, running, completed, failed, cancelled, timed_out or completed_late (open enum). |
subject | string または null | 必須 | |
template_name | string または null | 必須 | The template the child runs, or will run once started. |
UserRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
display_name | string | 必須 | |
kind | string: user, system, integration または string | 必須 | |
user_id | string または null | 必須 |
WorkflowRecipient
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
group_id | string または null | 必須 | |
type | string | 必須 | user, group or unknown (open enum). |
type_code | string または null | 必須 | The stored type code, for an unknown recipient type; null otherwise. |
user | UserRef または null | 必須 |