Skip to main content

List the parent and child workflows of a workflow.

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

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.

Scopeworkflows:read
AsynchronousNo
MCP toollist_workflow_related_workflows
Portal permissionsview_workflow_details
Pagingkeyset
Default orderrelated_workflow_id
Sort fieldsrelated_workflow_id

Parameters​

NameInTypeRequiredDescription
workflow_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
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 RelatedWorkflowRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

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

Schemas​

RelatedWorkflow​

FieldTypeRequiredDescription
completed_atstring (date-time) or nullRequiredWhen the child finished and reported back; null while it runs, and for a parent.
input_node_idstring or nullRequiredThe step in the child that started it.
linked_atstring (date-time) or nullRequired
output_node_idstring or nullRequiredThe step in the parent the child's result goes to.
related_workflow_idstringRequired
related_workflow_item_idstringRequiredThe item of the related workflow it hangs off.
relationshipstringRequiredchild (it was started by this workflow's item) or parent (it started this workflow); open enum.
workflowWorkflowRequiredThe related workflow.
workflow_item_idstringRequiredThe item of this workflow the link hangs off.

UserRef​

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

Workflow​

FieldTypeRequiredDescription
due_atstring (date-time) or nullRequired
is_cancelledbooleanRequired
is_completedbooleanRequired
open_action_countintegerRequired≥ -2147483648; ≤ 2147483647
open_action_count_for_meintegerRequired≥ -2147483648; ≤ 2147483647
recipientsarray of WorkflowRecipientRequiredWho the workflow was sent to (its recipients): the people and groups it shows to, beside the requests it sends them.
started_atstring (date-time) or nullRequired
started_byUserRefRequired
statusstringRequiredcancelled, failed, in_progress, completed or pending (open enum).
subjectstringRequired
template_namestring or nullRequired
workflow_idstringRequired
workflow_template_version_idstring or nullRequiredThe version of the template the workflow runs.

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