Mendix 7 is no longer supported unless you have Extended Support (for details, please contact Mendix Support). Mendix 7 documentation will remain available for customers with Extended Support until July, 2024.

Change Object

Last modified: August 2, 2022

1 Introduction

The Change object activity can be used to change the members of an object. This can be done with or without committing and with or without events.

2 Input Properties

2.1 Object

Object defines the object variable that is changed.

3 Action Properties

3.1 Commit Type

Commit type defines the way the object is committed.

Option Description
Yes with event handlers The object is saved in the database and the event handlers are triggered
Yes without event handlers The object is saved in the database, but the event handlers are not triggered
No The object is changed without being saved in the database

Default value: No

3.2 Refresh in Client

If the microflow is called from the client, the change is not reflected in the client if Refresh in client is set to No. If set to Yes, the object is refreshed across the client, which includes reloading the relevant data sources.

Default value: No

3.3 Change Members

You can specify a list of changes that to apply to the object. Values for members are specified with expressions and should be of the same type as the member. For a reference set association, it is also possible to add and remove (instead of only setting the member). For add, an object or a list of objects can be added to the currently associated objects. For remove, an object or a list of objects can be removed from the currently associated objects.