List the children of a sub-workflow group.
GET/api/v1/workflows/{workflow_id}/spawn-groups/{spawn_group_id}/childrenworkflows:read
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.
| Scope | workflows:read |
| Asynchronous | No |
| MCP tool | list_workflow_spawn_group_children |
| Portal permissions | view_workflow_spawn_groups |
| Paging | keyset |
| Default order | spawn_entry_id,ordinal |
| Sort fields | spawn_entry_id, ordinal, spawn_group_child_id |
| Filters | status, spawn_entry_id |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
workflow_id | path | string | Required | |
spawn_group_id | path | string | Required | |
search | query | string or null | Optional | Children whose subject, row key or output label contains this text, without regard to case. |
limit | query | integer | Optional | Default: 50; ≥ 1 |
cursor | query | string | Optional | |
sort | query | string | Optional | Comma-separated sort fields, - for descending. |
status | query | array of string | Optional | |
spawn_entry_id | query | array of string | Optional | |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
| Status | Description | Body |
|---|---|---|
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 body
| Field | Type | Required | Description |
|---|---|---|---|
items | array of SpawnGroupChild | Required | |
next_cursor | string or null | Required | |
warnings | array of object | Required |
Errors
The problem codes this operation can answer with. Each code links to its page.
| Code | Status |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
cursor_expired | 410 |
wrong_region | 421 |
invalid_cursor | 422 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
Schemas
SpawnGroupChild
| Field | Type | Required | Description |
|---|---|---|---|
assignees | array of WorkflowRecipient | Required | The first three holders of the child's open action requests, oldest request first. |
can_be_cancelled_by_caller | boolean | Required | The caller may manage the group and the child is outstanding. |
can_be_force_completed_by_caller | boolean | Required | 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 or null | Required | The workflow the child runs; null until it starts. |
child_workflow_item_id | string or null | Required | |
end_reason | string or null | Required | 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) or null | Required | When the child was ended or completed; null while it runs. |
is_hidden | boolean | Required | The step started the child hidden: it runs in the background. |
open_action_count | integer | Required | The child's action requests that are neither answered nor cancelled. ≥ -2147483648; ≤ 2147483647 |
open_holder_count | integer | Required | How many users and groups hold them; assignees names the first three. ≥ -2147483648; ≤ 2147483647 |
ordinal | integer | Required | The child's position among the children of its entry. ≥ -2147483648; ≤ 2147483647 |
output_label | string or null | Required | |
row_key | string or null | Required | 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 | Required | |
spawn_group_child_id | string | Required | |
started_at | string (date-time) or null | Required | |
status | string | Required | pending, starting, running, completed, failed, cancelled, timed_out or completed_late (open enum). |
subject | string or null | Required | |
template_name | string or null | Required | The template the child runs, or will run once started. |
UserRef
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required |
WorkflowRecipient
| Field | Type | Required | Description |
|---|---|---|---|
group_id | string or null | Required | |
type | string | Required | user, group or unknown (open enum). |
type_code | string or null | Required | The stored type code, for an unknown recipient type; null otherwise. |
user | UserRef or null | Required |