Repository navigation
Conversation
Documentation build overview
15 files changed ·
|
This was referenced Nov 3, 2026
sneridagh
force-pushed
the
issue-2061-workflow-chain
branch
from
November 5, 2026 11:25
b762ff7 to
ab99fb3
Compare
A type's chain can have several workflows. The workflow summary of @Content-Types, and GET @content-types/{type}/workflow, now return `chain`, the IDs of every workflow in order, instead of `id`, the first one. Assigning a workflow still sets one, and replaces the whole chain. Assisted-by: Claude Opus 5.5
sneridagh
force-pushed
the
issue-2061-workflow-chain
branch
from
November 5, 2026 13:12
ab99fb3 to
9fce32e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #2061. Stacked on #2081.
davisagli noted in the review of #2070 that a content type's chain can have several workflows, but the workflow summary only showed the first one.
What changes
workflowof a type in@content-types, andGET /@content-types/{type}/workflow, returnchain, the IDs of every workflow of the type's chain in order, instead ofid, the first one. It's empty when the type has no workflow.follows_defaultstays as it is.POST /@content-types/{type}/workflowstill assigns one workflow, and that replaces the whole chain. The state mapping and the item counts use the first workflow of the current chain, which is the one that sets an item's state.Nothing released uses these endpoints yet, so the rename has no compatibility cost. The Aurora content types control panel will follow.
Docs
content-types.mddescribesworkflow.chain, and what assigning a workflow does to a chain of several.content_types_get_item,content_types_get_workflow,content_types_post.Tests
Assisted-by: Claude Opus 5.5