How to Remove the case records

11 views
Skip to first unread message

Pravin Ambre

unread,
Jun 22, 2017, 4:24:34 AM6/22/17
to CommCare Developers
Hi,

I have more than 4,000 case records in my local setup
how to remove all these records ...without affecting other functionality
help me for the same.
Thanks 

Simon Kelly

unread,
Jun 26, 2017, 3:20:10 AM6/26/17
to CommCare Developers
Hi

We generally don't delete data at all. You can assign the cases to a temp user and then delete that user : https://confluence.dimagi.com/display/internal/Deleted+Users%2C+Deactivated+Users%2C+and+Archived+Forms

This won't actually remove them from your database but will mark them as deleted. If you want to truly delete them you'll have to use a python shell to iterate through them and delete each one.

Simon Kelly
Director of Server Engineer | Dimagi

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages