DeletedBy property?

Hi there :wave:

Is it somehow possible to get the user who deleted a record? Ideally, having a deletedBy property would do the job on my end.

Let me know,

Regards,

Andréas

Hello again!

You can’t get the information about who’s deleted a record directly.
I’ll try to think about how can you do it with the workaround method. I’ll let you know as soon as possible.

Lada Kokotova | Technical Support Engineer

Depends a little on the use case. Do you need the data ON the deleted record? Or as a record that can be queried when the record is STILL Deleted?

You can make a table that stores actions like:

TableName

  • recordType
  • recordId
  • actor (user)
  • action

And store information in there that you need to access.

Otherwise, just add a deletedBy relationship. I’d then add a after.trigger that handles the deletion and then delete the record by “updating” it with a deletedBy relationship.