The current workflow for dealing with blocked-sync due to corrupted case(s) on a mobile device is to delete the individual case.
If that case was a parent of already-created but not-synced subcases, how do I rebuild case-subcase connections?
There will be a significant impact if I can't rebuild these connections (caseslists, various filters, xpath expressions, parent-case case property references, etc.)
How to rebuild case-subcase connection if corrupted parent case deleted on mobile
commcare
Related Topic
- Get total parent-cases with at least one sub-case with a particular value
- CommCare – Saving Child Form Information to Parent Case
- CommCare – How to Reference Mobile Worker’s Username in Case List Filter
- Can mobile workers view case data from multiple locations
- CommCare – Configure Case List to Autoselect Child Case in Advanced Modules
- How to see what case/report/user data a CommCare user has access to on mobile
- Displaying parent case name in a child case export in CommCare
- How to filter a case list to display only cases that the mobile user’s location owns
Best Answer
Unfortunately I think the only way to repopulate those case-subcase relationships is through a case import of the corrupted cases. This is outlined in the documentation here https://confluence.dimagi.com/pages/viewpage.action?pageId=20218117