I'm developing API REST services and am on the road to build some process flows in Activiti invoking REST services for POST, PUT, DELETE, my question is as I can manage commit and rollback transactions to ensure that everything is done or if something goes wrong everything is reversed.
REST calls are not transactional … Activiti will roll back to the previous stable state when an exception happens … but of course the REST call will already have been fired and can't be rolled back as such. If you need that, you'd need to catch the exception and to the compensating logic yourself.