Skip to content

Commit ab625c9

Browse files
akoclaude
andcommitted
docs(odata-example): correct config/headers microflow slot description
The doctype example claimed both microflow options share a single BSON field and that HeadersMicroflow is an alias for ConfigurationMicroflow. That's no longer true (and caused CE6808): on Mendix >= 11.10 they are distinct slots (ConfigurationEntityMicroflow vs HeaderListMicroflow). Update the comment to match the fixed behavior. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 3ee46cd commit ab625c9

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

mdl-examples/doctype-tests/10-odata-examples.mdl

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -323,22 +323,20 @@ headers (
323323
/**
324324
* Level 8.2b: Consumed OData service with a Headers microflow.
325325
*
326-
* Mendix 11.9's "Configuration source" dropdown has three options:
326+
* The "Configuration source" dropdown has three options:
327327
* - Constants only (the default — set ServiceUrl as a constant)
328-
* - Configuration microflow
329-
* - Headers microflow
328+
* - Configuration microflow (returns System.ConsumedODataConfiguration)
329+
* - Headers microflow (returns list of System.HttpHeader)
330330
*
331-
* Both microflow options share a single BSON field — `ConfigurationMicroflow` —
332-
* and Studio Pro picks the dropdown label from the microflow's return type:
333-
* - returns System.ConsumedODataConfiguration -> "Configuration microflow"
334-
* - returns list of System.HttpHeader -> "Headers microflow"
335-
*
336-
* The MDL keyword `HeadersMicroflow` is a self-documenting alias for
337-
* `ConfigurationMicroflow`; both write the same BSON. The microflow
338-
* paths are mutually exclusive with constants-based ServiceUrl / proxy
339-
* fields (Mendix raises CE0783/CE1135), so each variant lives in its
340-
* own service. HeadersConfigAPI's SetHeaders returns a list of
341-
* System.HttpHeader; the call site provides the service URL itself via
331+
* The configuration and headers microflows are DISTINCT storage slots on
332+
* Mendix >= 11.10 (BSON `ConfigurationEntityMicroflow` vs `HeaderListMicroflow`;
333+
* before 11.10 they shared `ConfigurationMicroflow` and Studio Pro told them
334+
* apart by return type). The MDL keywords match: `ConfigurationMicroflow:` and
335+
* `HeadersMicroflow:` write to their own slots — using the wrong one triggers
336+
* CE6808 (issue #728). The microflow paths are mutually exclusive with
337+
* constants-based ServiceUrl / proxy fields (Mendix raises CE0783/CE1135), so
338+
* each variant lives in its own service. HeadersConfigAPI's SetHeaders returns a
339+
* list of System.HttpHeader; the call site provides the service URL itself via
342340
* the constant ServiceUrl above.
343341
*/
344342
create odata client OdTest.HeadersConfigAPI (

0 commit comments

Comments
 (0)