Skip to main content

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.

Scopeworkflows:read
AsynchronousNo
MCP toollist_workflow_spawn_group_children
Portal permissionsview_workflow_spawn_groups
Pagingkeyset
Default orderspawn_entry_id,ordinal
Sort fieldsspawn_entry_id, ordinal, spawn_group_child_id
Filtersstatus, spawn_entry_id

Parameters​

NameInTypeRequiredDescription
workflow_idpathstringRequired
spawn_group_idpathstringRequired
searchquerystring or nullOptionalChildren whose subject, row key or output label contains this text, without regard to case.
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
statusqueryarray of stringOptional
spawn_entry_idqueryarray of stringOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of SpawnGroupChildRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

SpawnGroupChild​

FieldTypeRequiredDescription
assigneesarray of WorkflowRecipientRequiredThe first three holders of the child's open action requests, oldest request first.
can_be_cancelled_by_callerbooleanRequiredThe caller may manage the group and the child is outstanding.
can_be_force_completed_by_callerbooleanRequiredThe caller may manage the group, the group is not yet collected and the child is outstanding, failed or timed out.
child_workflow_idstring or nullRequiredThe workflow the child runs; null until it starts.
child_workflow_item_idstring or nullRequired
end_reasonstring or nullRequiredWho 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_atstring (date-time) or nullRequiredWhen the child was ended or completed; null while it runs.
is_hiddenbooleanRequiredThe step started the child hidden: it runs in the background.
open_action_countintegerRequiredThe child's action requests that are neither answered nor cancelled. ≥ -2147483648; ≤ 2147483647
open_holder_countintegerRequiredHow many users and groups hold them; assignees names the first three. ≥ -2147483648; ≤ 2147483647
ordinalintegerRequiredThe child's position among the children of its entry. ≥ -2147483648; ≤ 2147483647
output_labelstring or nullRequired
row_keystring or nullRequiredThe grid row (its ownid) or attachment (its document id) the child was started for; null for an entry that starts one child.
spawn_entry_idstringRequired
spawn_group_child_idstringRequired
started_atstring (date-time) or nullRequired
statusstringRequiredpending, starting, running, completed, failed, cancelled, timed_out or completed_late (open enum).
subjectstring or nullRequired
template_namestring or nullRequiredThe template the child runs, or will run once started.

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired

WorkflowRecipient​

FieldTypeRequiredDescription
group_idstring or nullRequired
typestringRequireduser, group or unknown (open enum).
type_codestring or nullRequiredThe stored type code, for an unknown recipient type; null otherwise.
userUserRef or nullRequired