Skip to content

check passes a called workflow whose parameter is not $WorkflowContext (build: CE1613); syntax help shows that form #1530

Open

Description

@MendixMau

Summary

check passes a called workflow whose parameter is not named $WorkflowContext (native build: CE1613), and mxcli syntax workflow call-workflow shows that form.

Repro

workflow M.WF_Child
  parameter $Task: M.Item
begin
end workflow;

workflow M.WF_Parent
  parameter $WorkflowContext: M.Item
begin
  call workflow M.WF_Child(Task = $WorkflowContext);
end workflow;
  • mxcli check --references: 0 errors. mxcli exec: succeeds.
  • mx check: CE1613.

Renaming the child parameter to $WorkflowContext and the mapping to (WorkflowContext = ...) builds clean.

Expected

  1. check rejects a workflow parameter that is not named WorkflowContext, because a Mendix workflow has exactly one context parameter with that name.
  2. The example in mxcli syntax workflow call-workflow, CALL WORKFLOW HR.SubApproval(Request = $WorkflowContext) AS callWf1;, is changed to the form that builds. (The example is still printed by v0.27.0.)

Tested with: a five-app lab project (Mendix 11.15, mxcli v0.26.0), reproduced in a probe. The help example was re-read on v0.27.0; the build behaviour was not retested there.

Activity

  1. github-actions commented on Oct 16, 2026

    @github-actions

    Issue Triage

    Summary:
    The mxcli check command incorrectly allows a called workflow whose parameter is not named $WorkflowContext, while the Mendix build fails with error CE1613.

    Checklist for bug report completeness

    Required info Present? Details
    mxcli version ✅ v0.26.0 (mentioned)
    Mendix version ✅ 11.15 (mentioned)
    Scenario (what the user was trying to do) ✅ Described the workflow definitions and the mxcli check --references command
    Expected output ✅ check should reject a workflow parameter not named $WorkflowContext
    Experienced output ✅ check reports 0 errors, exec succeeds, but mx check yields CE1613
    AI bug report (mxcli diag --bundle or session log) ❌ Not provided

    Missing information:
    Please provide the output of mxcli diag --bundle (or at least the relevant session log) so we can investigate the issue further. Thank you!


    Automated triage via OpenRouter — workflow source

  2. added a commit that references this issue on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions