The system relies on a relational integrity for storage of data. When deleting records, an internal check is performed to verify if related record/s exist/s. If no relation record exists, the delete command will hard delete. Else a soft delete is performed.
For example, deleting a User could either be hard or soft depending on an internal check if there are tickets for that user in the desk. The row would turn grey if there are tickets in the system. If not tickets are found, or if all tickets for the users have been deleted, the user would be hard deleted.