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

List the sub-workflow groups of a workflow.

GET/api/v1/workflows/{workflow_id}/spawn-groupsworkflows:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

The groups its Sub Workflow steps started, as the Inbox's Sub-workflows panel shows them: each with its step, status, child_counts by status, deadline, the step's entries, and can_be_managed_by_caller. Ordered by workflow_item_id, then started_at (oldest first); no other order is offered. Needs View Workflow Spawn Groups and a workflow you can see; empty while the company has no groups. get_workflow's items say which item a group belongs to.

スコープworkflows:read
非同期いいえ
MCP ツールlist_workflow_spawn_groups
Portal の権限view_workflow_spawn_groups
ページングkeyset
既定の並び順workflow_item_id,started_at
並べ替えに使えるフィールドworkflow_item_id, started_at, spawn_group_id

パラメーター​

名前場所型必須説明
workflow_idpathstring必須
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
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 の本文​

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

エラー​

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

スキーマ​

SpawnEntry​

フィールド型必須説明
namestring必須
spawn_entry_idstring必須

SpawnGroup​

フィールド型必須説明
attemptinteger必須Which run of the step on the item this group is, from 1. ≥ -2147483648; ≤ 2147483647
can_be_managed_by_callerboolean必須The caller starts the parent, or holds Manage Other Users Workflow Spawn Groups: they may cancel, force-complete and Proceed now, each with its own permission.
can_children_be_opened_by_callerboolean必須The caller may open any child: they may manage the group, or hold View All Workflows.
child_countsSpawnGroupChildCounts必須
collect_node_run_idstring または null必須The Collect step's run while it waits for the group or runs a pass; null otherwise.
completed_atstring (date-time) または null必須When the group was completed or cancelled; null while it is not.
deadline_atstring (date-time) または null必須When the group's children time out; null without a deadline.
entriesSpawnEntry の配列 または null必須The step's entries by spawn_entry_id; null when the step's settings cannot be read (the step was deleted, or its settings were edited and no longer parse).
expected_countinteger または null必須How many children the group plans; null until planned.
has_collect_arrivedboolean必須The group is bound to its Collect step: the step has arrived on the parent item.
spawn_group_idstring必須
spawn_node_idstring必須The Sub Workflow step (its node_id) that started the group.
spawn_node_labelstring または null必須The step's label; null when the step was deleted from the template.
started_atstring (date-time) または null必須When the group was opened.
statusstring必須planning, spawning, open, collecting, collected, completed or cancelled (open enum). Force-complete takes a group that is planning, spawning or open; Proceed now only one that is open.
workflow_idstring必須The parent workflow.
workflow_item_idstring必須The parent's item the Sub Workflow step ran on.

SpawnGroupChildCounts​

フィールド型必須説明
cancelledinteger必須≥ -2147483648; ≤ 2147483647
completedinteger必須≥ -2147483648; ≤ 2147483647
completed_lateinteger必須≥ -2147483648; ≤ 2147483647
failedinteger必須≥ -2147483648; ≤ 2147483647
pendinginteger必須≥ -2147483648; ≤ 2147483647
runninginteger必須≥ -2147483648; ≤ 2147483647
startinginteger必須≥ -2147483648; ≤ 2147483647
timed_outinteger必須≥ -2147483648; ≤ 2147483647