Skip to main content
July 31, 2025
Question

Prevent events from removing after deleted record

  • July 31, 2025
  • 3 replies
  • 0 views

Hi!

Is it possible to prevent removal of Record Events related to removed record?

I want to have an event "XX record removed" but it seems impossible as it removes all events related to given record.


Thanks,

Damian

3 replies

shubhama926776
August 1, 2025

No, you cannot preserve Record Events when hard deleting a record - they're automatically removed. Use soft delete instead: add an isDeleted field, write the deletion event, set isDeleted = true, and use a sync filter to hide the record. This keeps the audit trail intact.

https://docs.appian.com/suite/help/25.2/Delete_Records_Smart_Service.html

stefanhelzle0001
August 1, 2025

Where would you display that event record? What is the underlying use case here?

harshas2775
August 2, 2025

Since record event relate to record using the primary key of the parent record, you shouldn’t remove the parent record. Its better to set status of record to “Removed” instead of removing the record from table so that the record event can be set as per requirements and has links to arent record.

alternatively instead of status as Deleted  or Removed, you can configure a separate column to store 1/0 based on whether record is removed or not!