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

List the parent and child workflows of a workflow.

GET/api/v1/workflows/{workflow_id}/related-workflowsworkflows:read
注記

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

The workflows linked to this one: its children (started by a Sub Workflow step) and the parent that started it, each once, with when the link was made and when the child reported back. Workflows you may not open are left out. Keyset by related_workflow_id.

スコープworkflows:read
非同期いいえ
MCP ツールlist_workflow_related_workflows
Portal の権限view_workflow_details
ページングkeyset
既定の並び順related_workflow_id
並べ替えに使えるフィールドrelated_workflow_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 の本文​

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

エラー​

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

スキーマ​

RelatedWorkflow​

フィールド型必須説明
completed_atstring (date-time) または null必須When the child finished and reported back; null while it runs, and for a parent.
input_node_idstring または null必須The step in the child that started it.
linked_atstring (date-time) または null必須
output_node_idstring または null必須The step in the parent the child's result goes to.
related_workflow_idstring必須
related_workflow_item_idstring必須The item of the related workflow it hangs off.
relationshipstring必須child (it was started by this workflow's item) or parent (it started this workflow); open enum.
workflowWorkflow必須The related workflow.
workflow_item_idstring必須The item of this workflow the link hangs off.

UserRef​

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

Workflow​

フィールド型必須説明
due_atstring (date-time) または null必須
is_cancelledboolean必須
is_completedboolean必須
open_action_countinteger必須≥ -2147483648; ≤ 2147483647
open_action_count_for_meinteger必須≥ -2147483648; ≤ 2147483647
recipientsWorkflowRecipient の配列必須Who the workflow was sent to (its recipients): the people and groups it shows to, beside the requests it sends them.
started_atstring (date-time) または null必須
started_byUserRef必須
statusstring必須cancelled, failed, in_progress, completed or pending (open enum).
subjectstring必須
template_namestring または null必須
workflow_idstring必須
workflow_template_version_idstring または null必須The version of the template the workflow runs.

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必須