You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/appstore/use-content/platform-supported-content/modules/community-commons-function-library.md
+6-3
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,8 @@ The module contains one constant: `CommunityCommons.MergeMultiplePdfs_MaxAtOnce`
34
34
### Execute Microflow
35
35
36
36
*`executeMicroflowAsUser` – This runs the given microflow as if the `$currentuser` is the provided user (delegation).
37
-
*`executeMicroflowAsUser_1` – This is identical to `executeMicroflowAsUser` , except that it accepts one arguement.
38
-
*`executeMicroflowAsUser`_2 – This is identical to `executeMicroflowAsUser` , except that it accepts two arguement.
37
+
*`executeMicroflowAsUser_1` – This is identical to `executeMicroflowAsUser` , except that it accepts one argument.
38
+
*`executeMicroflowAsUser`_2 – This is identical to `executeMicroflowAsUser` , except that it accepts two argument.
39
39
*`executeMicroflowInBackground` – This is similar to `RunMicroflowAsyncInQueue`, but it accepts one argument as parameter.
40
40
*`executeMicroflowInBatches` – This performs a batch operation on a large dataset by invoking the microflow on small sub-sets of the data, each with its own database transaction.
41
41
*`executeUnverifiedMicroflowAsUser` – This runs the given microflow as if the `$currentuser` is the provided user (delegation). Use `sudoContext` to determine if 'apply entity access' should be used.
@@ -88,7 +88,10 @@ The module contains one constant: `CommunityCommons.MergeMultiplePdfs_MaxAtOnce`
88
88
### ORM
89
89
90
90
* <aid="clone"></a>`Clone` – This clones the objects.
91
-
*`commitInSeparateDatabaseTransaction` – This function commits an object in a seperate context and transaction, making sure it gets persisted in the database (regarding which exception happens after invocation).
91
+
*`commitInSeparateDatabaseTransaction` – This function commits an object in a separate context and transaction, making sure it gets persisted in the database (regarding which exception happens after invocation).
92
+
93
+
{{% alert color="warning" %}}This action is prone to deadlock. For example, this can happen if you commit an object in one transaction and then use this action to commit the same object in a separate transaction. Therefore Mendix does not recommend the use of this action.{{% /alert %}}
94
+
92
95
*`commitWithoutEvents` – This commits an object but without events.
93
96
*`copyAttributes` – This copies all common primitive attributes from source to target, which are not necessarily of the same type. This is useful to, for example, translate database object into view objects.
94
97
* <aid="deepclone"></a>`DeepClone` – This clones the objects, their associations, and their referred objects. For more information, see the [Limitations](#limitations) section below.
0 commit comments