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.

Create Object

Last modified: August 2, 2022

1 Introduction

The Create object action can be used to create an object.

2 Action Properties

2.1 Entity

The entity of which you want to create an object.

2.2 Commit Type

The 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

2.3 Refresh in Client

If the microflow is called from the client, data sources do not reload, unless Refresh in client is set to Yes.

Default value: No

2.3 Initialize Members

You can initialize members of the newly created object. Values for members are specified with an expression and should be of the same type as the member.

3 Output Properties

3.1 Variable Name

Variable name defines the name of the resulting object variable. It can be used by all activities that follow this activity.