メインコンテンツまでスキップ

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_idpathstring必須
spawn_group_idpathstring必須
searchquerystring または null任意Children whose subject, row key or output label contains this text, without regard to case.
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
statusquerystring の配列任意
spawn_entry_idquerystring の配列任意
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
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 の本文​

フィールド型必須説明
itemsSpawnGroupChild の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

SpawnGroupChild​

フィールド型必須説明
assigneesWorkflowRecipient の配列必須The first three holders of the child's open action requests, oldest request first.
can_be_cancelled_by_callerboolean必須The caller may manage the group and the child is outstanding.
can_be_force_completed_by_callerboolean必須The caller may manage the group, the group is not yet collected and the child is outstanding, failed or timed out.
child_workflow_idstring または null必須The workflow the child runs; null until it starts.
child_workflow_item_idstring または null必須
end_reasonstring または 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_atstring (date-time) または null必須When the child was ended or completed; null while it runs.
is_hiddenboolean必須The step started the child hidden: it runs in the background.
open_action_countinteger必須The child's action requests that are neither answered nor cancelled. ≥ -2147483648; ≤ 2147483647
open_holder_countinteger必須How many users and groups hold them; assignees names the first three. ≥ -2147483648; ≤ 2147483647
ordinalinteger必須The child's position among the children of its entry. ≥ -2147483648; ≤ 2147483647
output_labelstring または null必須
row_keystring または 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_idstring必須
spawn_group_child_idstring必須
started_atstring (date-time) または null必須
statusstring必須pending, starting, running, completed, failed, cancelled, timed_out or completed_late (open enum).
subjectstring または null必須
template_namestring または null必須The template the child runs, or will run once started.

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須

WorkflowRecipient​

フィールド型必須説明
group_idstring または null必須
typestring必須user, group or unknown (open enum).
type_codestring または null必須The stored type code, for an unknown recipient type; null otherwise.
userUserRef または null必須