I have a registration form that has been successfully submitted for a case in CommCare as well as several other forms that have been submitted against that case. If I archive the registration form will that action affect the other data already submitted and synced against this case? How will archiving this form affect that case's data?
Does archiving a registration form in CommCare affect the the other forms submitted to that case
commcare
Related Topic
- Do CommCare Auto Case Closure case property filters overrule the Case Close field (days since updated)
- CommCare application is not syncing with server
- Does editing a form update the case property
- How to most easily correct form calculations after updating a case property via a form edit
- Way to reassign form data that is submitted to the wrong case in CommCare
- If a location name (NOT id) is changed, will it update in the form data
- CommCare – How to Set Up Excel Import to Update Case Property to Null
Best Answer
Archiving any form causes CommCareHQ to rebuild any cases affected as if that form had never been submitted. So, if you archive a registration form, it actually un-opens that case and it's like that case never existed.
Archiving a registration form when there are follow-up forms submitted can therefore cause problems, as it leaves a bunch of forms that are applied to a case that never existed.
There is a new change to CommCareHQ which should no longer allow you to archive a registration form when other forms exist for that case, thus preventing the problems described above. Now, if you want to delete a case, you have two options:
Disclaimer: Always be very careful about deleting any data off of CommCare. It is not always possible to recover data if you delete something accidentally.