Skip to content

Commit ecc180e

Browse files
authored
Merge pull request mendix#6192 from mendix/update_for_cluster_wide_limits
Update task-queue.md
2 parents c12e4a7 + 9715d91 commit ecc180e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/en/docs/refguide/modeling/resources/task-queue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ You can use the [Task Queue Helpers](https://marketplace.mendix.com/link/compone
258258

259259
Task queues have the following limitations:
260260

261-
* Microflows or Java actions that are executed in the background execute as soon as possible in the order they were created, but possibly in parallel. They are consumed in FIFO order, but then executed in parallel in case of multiple threads. There is no way to execute only a single microflow or Java action at any point in time (meaning, ensure tasks are run sequentially), unless the number of threads is set to 1 and there's only a single runtime node.
261+
* Microflows or Java actions that are executed in the background execute as soon as possible in the order they were created, but possibly in parallel. They are consumed in FIFO order, but then executed in parallel in case of multiple threads. If you want to ensure that only a single microflow or action is executed at any point in time, you can do this by [creating a Tasks Queue](#create-queue) with a cluster wide scope and a single thread.
262262
* Microflows or Java actions that are executed in the background can *only* use the following types of parameters: Boolean, Integer/Long, Decimal, String, Date and time, Enumeration, committed Persistent Entity.
263263
* Background microflows or Java actions will start execution as soon as the transaction in which they are created is completed. This ensures that any data that is needed by the background microflow or Java action is committed as well. It is not possible to start a background microflow or Java action immediately, halfway during a transaction. Note that if the transaction is rolled back, the task is not executed at all.
264264

0 commit comments

Comments
 (0)