Hello ,
I am using collection hooks … Everything is going fine but i was wondering what i can do with the following case :
I have employee collection using the quick-form , after i submit the form, i use the collection hook ‘after.insert’ to create user account with 'Accounts.createUser ’ method … my question is what about if the collection hooks failed to create account ( ie : the email address has been used before or what ever ) , is it gonna revert the previous insertion of the employee record, if not … then i think this a big problem … your advice guys