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.

Activities

Last modified: April 18, 2024

Activities represent the actions that are executed in a microflow.

The following types of activities are available:

Object Activitities

Object activities can be used to create and manipulate objects. The domain model defines the object types (entities) that can be used.

Graphic Name Description
Cast object Cast object can be used in combination with an inheritance split to use the specialized members of the object.
Change object Change object can be used to change the members of an object. This can be done with or without commiting and with or without events.
Commit object(s) Commit object(s) can be used to commit the changes to one or more objects.
Create object Create object can be used to create an object.
Delete object(s) Delete object can be used to delete an object.
Retrieve Retrieve can be used to get one (or more) associated objects of another object. Furthermore the activity can also get one (or more) objects directly from the database.
Rollback object Rollback object can be used to undo changes (that have not been committed) that were made to the object in the part of the microflow preceding the activity. Furthermore it deletes objects that have been created but have never been committed.

List Activitities

List activities can be used to create and manipulate lists of objects.

Graphic Name Description
Aggregate list Aggregate list can be used to calculate aggregated values such as the maximum, minimum, sum, average and total amount of objects over a list of objects.
Change list Change list can be used to change the content of a list variable.
Create list Create list can be used to create a (empty) list variable.
List operation List operation can be used to combine or compare two list with objects of the same entity.

Action Call Activities

Action call activities can be used to call another microflow or to call a Java action.

Graphic Name Description
Java Action call Java Action call can be used to call a Java action. Arguments can be passed to the action and the result can be stored in a variable.
Microflow call Microflow call can be used to call another microflow. Arguments can be passed to the microflow and the result can be stored in a variable.

Variable Activitities

Variable activities can be used to create or change a variable within a microflow.

Graphic Name Description
Change variable Change variable can be used to change the value of a variable.
Create variable Create variable can be used to create a new variable.

Client Activitities

Client activities can be used to have the web client of your application perform an action, such as showing a different page or downloading a file.

Graphic Name Description
Close page Close page closes the pagethat is opened last by the user that calls the microflow where this activity is used in.
Download file Download file can be used to enable the browser to download a specific file. The user, that calls the microflow where this activity is used in, gets a download popup or the file is shown directly in the browser.
Show message Show message can be used to show a blocking or non-blocking message to the user that calls the microflow where this activity is used in.
Show page Show page can be used to show a page to the user that calls the microflow where this activity is used in.
Validation feedback Validation feedback can be used to display a red text below a widget that displays an attribute or association.
Show home page Show home Page can be used to navigate to the home page for the current user.

Integration Activitities

See Microflow Activities.

Document Generation Activitities

Graphic Name Description
Generate document Generate document can be used to create a document of a certain type based on a template.