Repository navigation
learn(workflow, fixture-seeding): a jump has one fixed target; probed build errors; workflow seed reset (WF-1, WF-5) - #415
Merged
Conversation
…kflow build errors workflow-structure-rules.md §1: a Jump to cannot return to the step that sent it, so one failure handler for N steps is a child workflow reached through Call workflow (the child ends normally, failure is data, a parent jump aborts a running child). A five-app lab project (Mendix 11.15, mxcli v0.26.0) drew the shared-node form and had to redesign at Stage 3. learned-workflow-patterns.md §9: three rows probed tonight with native mx check on mxcli v0.26.0 / Mendix 11.15.0: - CE0117 on a System.Workflow argument: map `$WorkflowInstance` (builds clean); `$Workflow` passes check and fails the build. - CE1613 at Call workflow: the called workflow's parameter must be `$WorkflowContext`; describe drops the mapping. - `returns` goes before `exposed as workflow action`; a called microflow can return Boolean/enum. Corrects the reading that it cannot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… link tables first if SQL (WF-5) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… refs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MendixMau
marked this pull request as ready for review
October 16, 2026 03:15
# Conflicts: # CHANGELOG.md
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.
Direct lane
What changed and why: two workflow text fixes from a five-app lab field report (mxcli v0.26.0, Mendix 11.15). WF-1:
workflow-structure-rules.md§1 now says a Jump to has one fixed target and cannot return to the step that sent it. A first workflow design sent seven calls to one shared failure node that "returns" to the caller; that cannot be built, the Stage 3 count caught it (9 breaches), and the redesign cost a resolution round plus a resync of four documents. The rule says: for one failure handler serving N steps, use a child workflow reached through Call workflow, end the child normally and treat failure as data, and know that a parent jump aborts a running child.learned-workflow-patterns.md§9 gains three build-error rows probed with nativemx check(CE0117 on aSystem.Workflowargument, CE1613 at Call workflow, andreturnsbeforeexposed as workflow action). WF-5: a short "workflow data" block infixture-seeding.md: abort instances through the runtime first; if SQL is unavoidable, delete the link tables first; reset a context object only after its instances are gone. The §9 rows are filed upstream: mendixlabs/mxcli#1529 (CE0117), #1530 (CE1613, andsyntax workflow call-workflowshows the failing form), #1531 (describe drops every call workflow mapping), #1533 (returnsparse messages, v0.26.0 "expecting BEGIN" and v0.27.0 "expecting STRING_LITERAL"). WF-5 table names were read from a Mendix 11.15 database:system$workflow_currentactivity,system$workflow_workflowdefinition,system$workflowusertask_assignees,_targetusers,_targetgroups, plus thesystem$workflowendedusertask_*links. The reusable call-and-wait pattern is a separate branch and is not in this PR.Impact
skills/workflow-structure-rules.md,skills/learned-workflow-patterns.md,skills/fixture-seeding.md, CHANGELOG.md. All three areondemandinbin/lib/skill-routing.tsv. No new artifact read; this head already contains the earlier workflow-notes change from master.bin/render-routing.sh --check, origin/master and this head: baseline 75225 words (budget 80000) on both, and all nine stage lines (P to 7, every per-role count) are byte-identical, so no trim was needed.mx check, the jump rule is reasoning from the Mendix docs on Call workflowField evidence: a five-app lab project (Mendix 11.15, mxcli v0.26.0): one Stage 3 round lost to the shared-failure-node design, one seed reset failing on workflow link tables.
render-routing --checkpasses on both (above) andbin/check-pr-discipline.sh origin/masteris clean.## Unreleased, both credited🤖 Generated with Claude Code