Allow only certain records to be deleted

Hi, I need some advice.
I would like to keep the option for users to delete records in the table (setting roles), but I would like some records to not be able to be deleted. E.g. orders that are in “closed” status - result: this record cannot be deleted.
I tried using Workflow automation, but every attempt resulted in the entry being deleted.
Please any idea.
Thanks.

Hello,
Currently, Workflow does not support stopping deletion. I will enter a suggestion for a fix.
Regards
Michal

Hi,
thank you very much.
B.