What is the recommended and supported way to remove Tasks and Cases in Axon Ivy?
For example, if I want to delete all Tasks and Cases created today, is it sufficient to delete the records directly from the IWA_CASES/Tasks database, or are there additional dependencies that must be handled?
Alternatively, is it better practice to:
change the state of the Case/Task (e.g. finished, destroyed, terminated).
As part of an investigation, I tried the following approaches in a development environment:
setting the state of Tasks and Cases to DESTROYED (state = 7) in the database
deleting all Tasks and Cases created today directly from the IWA_TASK and IWA_CASE tables
However, even after performing these actions, the Tasks and Cases are still visible in the system/UI, or appear to be recreated.
Thank you for your guidance.
