How to throw an exception in the Participant plugin? will the work item created if the participant fails?
Accepted answer
These questions are all discussed and answered in https://jazz.net/library/article/1000 (lab 3). https://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ shows also code for it.
When you add a severity ERROR information to the information collector, the follow up action should prevent the save. As far as I understand , the whole preconditions and follow up actions are run in a transaction, that is also the reason, why pre-conditions and follow up actions should be fast.