I’ve been trying to execute a functionality that allows a batch operation over a set of tasks (e.g. claiming, unclaiming, complete, etc), but I would like it to be done using the same transaction so all changes could be rolled back when an exception occurs.
I have tried using @Transactional spring annotation on a method that iterate over a set of Tasks, but I noticed that changes are committed to the database on each TaskService call.
I couldn’t find any particular information about that particular scenario at the official documentation.
Does Flowable Engine provide any additional configuration or functionality that would allow me to achieve this?
Any comment or help would be deeply appreciated.