Currently when setting up a task or subroutine within the Software Factor the checkbox Atomic Transaction is set to false by default. It be better if the default is set to true instead of false. Normally all tasks and subroutine (procedures) will have to be set up using an atomic transaction. In some exceptions you would like to disable this feature.
Atomic Transaction checkbox set default to true
Software Factory
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
I agree Arjan, more often than not a task should be Atomic.
In my project we use Dynamic model code to set all task to Atomic unless they have a tag called 'TASK_NOT_ATOMIC’
This should be a project(version) setting in my opinion. For existing projects, defaulting to true could have serious impact, while on new projects you'd want this behaviour by default.
This should be a project(version) setting in my opinion. For existing projects, defaulting to true could have serious impact, while on new projects you'd want this behaviour by default.
I think a validation should be sufficient in those cases. Adding (yet another) option also has a serious impact on making things complex (Current users: Did I had the checkbox enabled? New users: What does this checkbox?). In my experience adding things as ‘options’ is for a short term OK, but add more complexity to the product. Having less is more . I think an upgrade validation should be sufficient in that case.
I agree that less is usually more and a validation will suffice. But people do need to be aware of just implementing everything as an atomic transaction if the application/logic has not been set up this way, or if transaction handling was built in manually before.
I'd say, if that's a problem for developers they are failing on 2 important topics:
And from a quality process perspective, I'd assume any proper project setup would have some sort of:
This setting (even after googling) is quite abstract for Low Code (non-tech) Developers, so I'd prefer the better setting to be the default setting (if in doubt, usually developers don't change a setting).
In the 2022.2 version (which is expected somewhere in june) the ‘Atomic transaction’ checkbox will be checked by default, unless the majority of existing tasks in the project version are not atomic.