Skip to content

Conversation

stevendecock
Copy link

Add a warning section on this page to clarify the (unexpected) behavior of the Launch Process actions. These actions do not wait for the current transaction to commit before launching the process.

So if you update an entity and then launch a process using this action, the process might not yet see the updated values if the process gets started before the transaction commits.

I have tested this on our environment and it is 100% reproducible.

This nuance can lead to obscure bugs (I speak from experience).

Add a warning section on this page to clarify the (unexpected) behavior of the Launch Process actions.
These actions do not wait for the current transaction to commit before launching the process.

So if you update an entity and then launch a process using this action, the process might not yet see the updated values if the process gets started before the transaction commits.

I have tested this on our environment and it is 100% reproducible.

This nuance can lead to obscure bugs (I speak from experience).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant