Skip to content

Commit abce60f

Browse files
authored
Merge pull request mendix#9065 from mendix/yl-address-github-issue-9022
Clarify the use of Create object activity in nanoflows
2 parents fce6e30 + e630fbc commit abce60f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • content/en/docs/refguide/modeling/application-logic/microflows-and-nanoflows/nanoflows

content/en/docs/refguide/modeling/application-logic/microflows-and-nanoflows/nanoflows/_index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ The following activities interact with the database:
3434
Therefore, the best practice is to use nanoflows in online applications when they do not contain the above activities.
3535

3636
{{% alert color="info" %}}
37-
An exception for the **Create object** activity is that you can use it to create a new [non-persistable entity](/refguide/persistability/#non-persistable), and this NPE has no error handlers, calculated attributes, or read-only attributes. In this case, no request is sent to the Mendix Runtime.
37+
An exception is that you can use the **Create object** activity to create a [non-persistable entity](/refguide/persistability/#non-persistable) if this NPE:
38+
39+
* does not have any event handlers attached
40+
* does not have any calculated attributes
41+
* does not have any read-only attributes
42+
43+
In this case, the NPE is created on the client side and no request is sent to the Mendix Runtime.
3844
{{% /alert %}}
3945

4046
{{% alert color="info" %}}

0 commit comments

Comments
 (0)