-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.10-HF63, 2021.18
-
Component/s: Automation
-
Release Notes Summary:An option is available on OperationContext to disable the transaction management in order to let this responsibility to the caller.
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #56, nxplatform #57
-
Story Points:3
In some use cases such as the bulk edit, we want to continue updating documents using Automation even if one fails. This is not possible as by default when an operation fails, the whole transaction is marked as rollback.
We want to add an option on the OperationContext to specify that the caller wants to manually manage the transaction instead of relying on the default behavior which is to roll back the transaction.
This new option should be used in both OperationContext#setRollback and OperationContext#isCommit.