Summary
DESCRIBE WORKFLOW outputs MDL that starts with workflow Module.Name but the parser requires CREATE WORKFLOW Module.Name. This breaks the describe→drop→recreate roundtrip pattern that works for other document types.
Reproduction
mxcli -c "DESCRIBE WORKFLOW Module.MyWF;" -p app.mpr > wf.mdl
mxcli -c "DROP WORKFLOW Module.MyWF;" -p app.mpr
mxcli -c "execute script 'wf.mdl';" -p app.mpr
# Parse error: extraneous input 'workflow' expecting {CREATE, ...}
Workaround
Manually prefix create before workflow and remove trailing / terminator.
Expected behavior
DESCRIBE output should be directly executable (like entities, microflows, pages, etc.) — either:
- Output
create workflow ... (preferred, consistent with other types), or
- Parser accepts bare
workflow ... as CREATE synonym
Version
mxcli v0.7.0-368-g5a109a0e
Summary
DESCRIBE WORKFLOWoutputs MDL that starts withworkflow Module.Namebut the parser requiresCREATE WORKFLOW Module.Name. This breaks the describe→drop→recreate roundtrip pattern that works for other document types.Reproduction
Workaround
Manually prefix
createbeforeworkflowand remove trailing/terminator.Expected behavior
DESCRIBE output should be directly executable (like entities, microflows, pages, etc.) — either:
create workflow ...(preferred, consistent with other types), orworkflow ...as CREATE synonymVersion
mxcli v0.7.0-368-g5a109a0e