Summary
CREATE OR MODIFY MICROFLOW replaces the whole microflow document. The microflow Url property (Studio Pro → microflow properties → URL, used for deep links in Mendix 10.6+) is not part of the MDL grammar, so it cannot be expressed in the script — and the rewrite discards the existing value without any warning. Every MDL edit of a microflow that carries a URL silently breaks its deep link.
Environment
- mxcli nightly build of 2026-09-08 (Windows, amd64)
- Mendix 10.24.25 project (MPR v2)
Steps to reproduce
- In Studio Pro, create a microflow
MyModule.DL_OpenItem with parameter Key: String and set its URL to item/{Key}.
- Confirm the URL is in the unit:
grep -rao "item/[A-Za-z{}/]*" mprcontents | sort -u
- Run any
CREATE OR MODIFY MICROFLOW MyModule.DL_OpenItem (...) BEGIN ... END; that changes only the body (e.g. add a LOG activity).
- Re-run the grep from step 2 — the URL is gone. Studio Pro shows the URL field empty; the deep link returns 404.
Expected behaviour
Either:
CREATE OR MODIFY MICROFLOW preserves properties it cannot author (URL, and any other property outside the MDL grammar) when the microflow already exists, or
- the MDL grammar accepts the property (e.g.
CREATE MICROFLOW MyModule.DL_OpenItem (...) URL 'item/{Key}' ...), and DESCRIBE MICROFLOW emits it so the round trip is lossless, and
- at minimum, mxcli warns when a rewrite drops a non-empty property.
Actual behaviour
The URL is dropped silently. mxcli check and mx check both pass; the loss is only visible in Studio Pro or when the link is called.
Notes
DESCRIBE MICROFLOW does not output the URL either, so there is no way to notice the property exists from the CLI. We now grep mprcontents for every deep-link URL after each MDL run and re-enter them in Studio Pro.
Summary
CREATE OR MODIFY MICROFLOWreplaces the whole microflow document. The microflowUrlproperty (Studio Pro → microflow properties → URL, used for deep links in Mendix 10.6+) is not part of the MDL grammar, so it cannot be expressed in the script — and the rewrite discards the existing value without any warning. Every MDL edit of a microflow that carries a URL silently breaks its deep link.Environment
Steps to reproduce
MyModule.DL_OpenItemwith parameterKey: Stringand set its URL toitem/{Key}.CREATE OR MODIFY MICROFLOW MyModule.DL_OpenItem (...) BEGIN ... END;that changes only the body (e.g. add aLOGactivity).Expected behaviour
Either:
CREATE OR MODIFY MICROFLOWpreserves properties it cannot author (URL, and any other property outside the MDL grammar) when the microflow already exists, orCREATE MICROFLOW MyModule.DL_OpenItem (...) URL 'item/{Key}' ...), andDESCRIBE MICROFLOWemits it so the round trip is lossless, andActual behaviour
The URL is dropped silently.
mxcli checkandmx checkboth pass; the loss is only visible in Studio Pro or when the link is called.Notes
DESCRIBE MICROFLOWdoes not output the URL either, so there is no way to notice the property exists from the CLI. We now grepmprcontentsfor every deep-link URL after each MDL run and re-enter them in Studio Pro.