Problem
mxcli check script.mdl -p app.mpr --references passes syntax and reference validation for CALL WORKFLOW ... ON ERROR CONTINUE, but Mendix (mx check / Studio Pro) rejects it at build time with CE6035: Error handling type is not supported.
Repro
CREATE MICROFLOW MyModule.TestWorkflow (
$Context: MyModule.MyEntity
)
RETURNS Boolean AS $Result
BEGIN
DECLARE $Result Boolean = true;
CALL WORKFLOW MyModule.MyWorkflow("WorkflowContext" = $Context) ON ERROR CONTINUE;
RETURN $Result;
END;
/
./mxcli check script.mdl -p app.mpr --references
# ✓ Syntax OK
# ✓ All references valid
mx check app.mpr
# CE6035 Error handling type is not supported Call workflow activity 'Call MyWorkflow'
Expected
mxcli check should reject ON ERROR CONTINUE / ON ERROR ROLLBACK on CALL WORKFLOW activities, the same way Mendix rejects error handling on SEND REST REQUEST (also CE6035).
Workaround
Remove the ON ERROR clause:
CALL WORKFLOW MyModule.MyWorkflow("WorkflowContext" = $Context);
Environment
- mxcli: latest
- Mendix: 11.6.4
Problem
mxcli check script.mdl -p app.mpr --referencespasses syntax and reference validation forCALL WORKFLOW ... ON ERROR CONTINUE, but Mendix (mx check / Studio Pro) rejects it at build time with CE6035: Error handling type is not supported.Repro
Expected
mxcli checkshould rejectON ERROR CONTINUE/ON ERROR ROLLBACKonCALL WORKFLOWactivities, the same way Mendix rejects error handling onSEND REST REQUEST(also CE6035).Workaround
Remove the
ON ERRORclause:Environment