+3
Requested

Allow rule to prevent the delete of a record

Nik De Clercq 2 years ago in ADAM Core • updated by Peter Klören 2 years ago 1

ADAM is often a system that publishes it's information to other systems. Deleting a record is a very important event that should be published to other systems. To ensure the delete event is sent to other systems, we publish the delete event from within a rule in ADAM.

When the publishing fails for some reason (e.g. infrastructure failure) you want to be able to prevent the delete from ADAM. At this point, all you can do is add a rule that tries to publish. On failure, you are lost because the record is gone and a retry is not possible.

What I would want is a BeforeValidation (or AfterValidation) rule action that is triggered during delete so I can fail the delete and prevent the record from being deleted.

channel or touchpoint publishing configurability rules
+1

Basically, when the system or custom code throws an exception in any event before the actual commit in the database for the deletion, the transaction needs to be rolled back. Currently this is not the case.