How should a commit - with events of a list work, if there is one object in the list that fails the Before Commit microflow ?
How should a "commit - with events" of a list work, if there is one object in the list that fails the Before Commit microflow? Should it commit only the ones that pass or commit none. At the moment it commits non. I have put a custom error handler without roll back that continues but none of the objects in the list get committed. I suppose this is rather an ambiguous question but is it intended to work this way? "For future reference" Regards, Patrick
Take a look at the documentation. It should behave like you have specified, depending on the 'Raise an error' setting :
If you return an error on false, then nothing gets committed: the Commit Object(s) action results in an error.
If you do not return an error on false, then only failing objects are not committed: the Commit Object(s) action does not result in an error.