mendix / docs

Mendix documentation repository
https://docs.mendix.com
Creative Commons Attribution 4.0 International
137 stars 704 forks source link

10.12.0 rn #7898

Closed MariaShaposhnikova closed 1 week ago

sbont commented 2 weeks ago

We'd like to promote features on lines 41 & 42 to it's own section, as follows:

#### Using Associations with External Actions
**Published OData services** now support including associated objects when calling a microflow that is published as an OData action. When consuming these actions in a **Call External Action** activity, Studio Pro lets you select the associations that should be included in the action call.  These associated objects are then included in the request to the **Consumed OData service**. If the service returns an object or a list of objects, you can also specify which associations you want to get back from the service. These associations can then be traversed using the __Retrieve__ activity. 
If you call the published OData service using a REST client, you can nest the associated objects in the request body, and you can use the `$expand` query parameter to control which associated objects should be returned in the response.