# Cases from initial case import not being seen

**URL:** <https://forum.dimagi.com/t/cases-from-initial-case-import-not-being-seen/3314>\
**Category:** Users\
**Created:** [March 2, 2017, 8:58pm UTC](https://forum.dimagi.com/t/cases-from-initial-case-import-not-being-seen/3314 "2017-03-02T20:58:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simon\_Berry](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/simon_berry/32/492_2.png) [@Simon\_Berry](https://forum.dimagi.com/u/Simon_Berry)\
**Post date:** [March 2, 2017, 8:58pm UTC](https://forum.dimagi.com/t/cases-from-initial-case-import-not-being-seen/3314/1 "2017-03-02T20:58:35Z")

</div>

Hi

I'm just about to launch a new app and I have purged the test data by  
archiving all the forms.

Then I imported the new data using case import and that seemed to work with  
the system reporting 1066 cases imported (see attached screenshot which  
shows the case type VBA). I then purged the tablet of data and installed  
the latest version of the app.

However, when I synced I didn't get any of the cases on the tablet.

When I try to use Reports \> Case List the Case Type 'VBA' is not in the  
drop down menu.

When I do a Case Export of VBA cases the file is empty except the correct  
property names in the first row.

Help!

Thanks in anticipation.

Simon

---

<div class="post-metadata">

**Author:** ![Nick\_Nestle](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/n/46a35a/32.png) [@Nick\_Nestle](https://forum.dimagi.com/u/Nick_Nestle)\
**Post date:** [March 3, 2017, 12:22am UTC](https://forum.dimagi.com/t/cases-from-initial-case-import-not-being-seen/3314/2 "2017-03-03T00:22:36Z")

</div>

Hi Simon, those cases are likely not owned by that mobile worker and so not  
being sent to the phone.

You can use Reassign Cases in the Data section to assign them to the  
correct user or group.

You could also do this with the Excel updater by updating the owner is  
field with the commcare id of the user.

-Nick

> **···**
>
> On Mar 2, 2017 12:58 PM, "Simon Berry" wrote:
> 
> > Hi
> > 
> > I'm just about to launch a new app and I have purged the test data by  
> > archiving all the forms.
> > 
> > Then I imported the new data using case import and that seemed to work  
> > with the system reporting 1066 cases imported (see attached screenshot  
> > which shows the case type VBA). I then purged the tablet of data and  
> > installed the latest version of the app.
> > 
> > However, when I synced I didn't get any of the cases on the tablet.
> > 
> > When I try to use Reports \> Case List the Case Type 'VBA' is not in the  
> > drop down menu.
> > 
> > When I do a Case Export of VBA cases the file is empty except the correct  
> > property names in the first row.
> > 
> > Help!
> > 
> > Thanks in anticipation.
> > 
> > Simon

---

<div class="post-metadata">

**Author:** ![Simon\_Berry](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/simon_berry/32/492_2.png) [@Simon\_Berry](https://forum.dimagi.com/u/Simon_Berry)\
**Post date:** [March 3, 2017, 4:17am UTC](https://forum.dimagi.com/t/cases-from-initial-case-import-not-being-seen/3314/3 "2017-03-03T04:17:39Z")

</div>

Sorry, here's the screenshot.

S

[Google ChromeScreenSnapz050.pdf](https://dimagi.b-cdn.net/uploads/default/original/1X/3f9ed5900f93746e7134d862afdaf3c423293ee4.pdf) (156 KB)

> **···**
>
> On Thursday, March 2, 2017 at 11:58:35 PM UTC+3, Simon Berry wrote: \> \> Hi \> \> I'm just about to launch a new app and I have purged the test data by \> archiving all the forms. \> \> Then I imported the new data using case import and that seemed to work \> with the system reporting 1066 cases imported (see attached screenshot \> which shows the case type VBA). I then purged the tablet of data and \> installed the latest version of the app. \> \> However, when I synced I didn't get any of the cases on the tablet. \> \> When I try to use Reports \> Case List the Case Type 'VBA' is not in the \> drop down menu. \> \> When I do a Case Export of VBA cases the file is empty except the correct \> property names in the first row. \> \> Help! \> \> Thanks in anticipation. \> \> Simon \>

---

<div class="post-metadata">

**Author:** ![Nick\_Nestle](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/n/46a35a/32.png) [@Nick\_Nestle](https://forum.dimagi.com/u/Nick_Nestle)\
**Post date:** [March 3, 2017, 12:23am UTC](https://forum.dimagi.com/t/cases-from-initial-case-import-not-being-seen/3314/4 "2017-03-03T00:23:35Z")

</div>

"owner is" = owner\_id

> **···**
>
> On Mar 2, 2017 4:22 PM, "Nick Nestle" wrote:
> 
> > Hi Simon, those cases are likely not owned by that mobile worker and so  
> > not being sent to the phone.
> > 
> > You can use Reassign Cases in the Data section to assign them to the  
> > correct user or group.
> > 
> > You could also do this with the Excel updater by updating the owner is  
> > field with the commcare id of the user.
> > 
> > -Nick  
> > On Mar 2, 2017 12:58 PM, "Simon Berry" [simon@colalife.org](mailto:simon@colalife.org) wrote:
> > 
> > > Hi
> > > 
> > > I'm just about to launch a new app and I have purged the test data by  
> > > archiving all the forms.
> > > 
> > > Then I imported the new data using case import and that seemed to work  
> > > with the system reporting 1066 cases imported (see attached screenshot  
> > > which shows the case type VBA). I then purged the tablet of data and  
> > > installed the latest version of the app.
> > > 
> > > However, when I synced I didn't get any of the cases on the tablet.
> > > 
> > > When I try to use Reports \> Case List the Case Type 'VBA' is not in the  
> > > drop down menu.
> > > 
> > > When I do a Case Export of VBA cases the file is empty except the correct  
> > > property names in the first row.
> > > 
> > > Help!
> > > 
> > > Thanks in anticipation.
> > > 
> > > Simon

---

<div class="post-metadata">

**Author:** ![Simon\_Berry](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/simon_berry/32/492_2.png) [@Simon\_Berry](https://forum.dimagi.com/u/Simon_Berry)\
**Post date:** [March 3, 2017, 4:30am UTC](https://forum.dimagi.com/t/cases-from-initial-case-import-not-being-seen/3314/5 "2017-03-03T04:30:40Z")

</div>

Thanks Nick. I think that will solve the problem!

One more question, if I may. The mobile workers tablets contain test data  
at the moment, ie the data we used to test the system and the cases they  
created during training. As I mentioned in my original post, the forms that  
created this data have now been archived so the cases no longer appear on  
the server.

If the data were left on their tablets, what would happen the next time  
they synced with the server? Would the data get sent to the server again  
given that what's on the tablets is no longer on the server? Or would the  
data be cleared from the tablets when they synced?

Regards

Simon  
3/3/17

> **···**
>
> On Friday, March 3, 2017 at 7:17:39 AM UTC+3, Simon Berry wrote: \> \> Sorry, here's the screenshot. \> \> S \> \> On Thursday, March 2, 2017 at 11:58:35 PM UTC+3, Simon Berry wrote: \>\> \>\> Hi \>\> \>\> I'm just about to launch a new app and I have purged the test data by \>\> archiving all the forms. \>\> \>\> Then I imported the new data using case import and that seemed to work \>\> with the system reporting 1066 cases imported (see attached screenshot \>\> which shows the case type VBA). I then purged the tablet of data and \>\> installed the latest version of the app. \>\> \>\> However, when I synced I didn't get any of the cases on the tablet. \>\> \>\> When I try to use Reports \> Case List the Case Type 'VBA' is not in the \>\> drop down menu. \>\> \>\> When I do a Case Export of VBA cases the file is empty except the correct \>\> property names in the first row. \>\> \>\> Help! \>\> \>\> Thanks in anticipation. \>\> \>\> Simon \>\> \>

---

<div class="post-metadata">

**Author:** ![Clayton\_Sims](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/clayton_sims/32/496_2.png) [@Clayton\_Sims](https://forum.dimagi.com/u/Clayton_Sims)\
**Post date:** [March 3, 2017, 8:25am UTC](https://forum.dimagi.com/t/cases-from-initial-case-import-not-being-seen/3314/6 "2017-03-03T08:25:59Z")

</div>

Hi Simon!

HQ triggers a special sync in some situations, two of which may be true  
here:

1. When syncing the phone and server coordinate on what cases and data  
"should be" on the device according to the server., triggering that sync if  
the current set disagrees with the expected set
2. When certain operations on HQ are performed that the server knows will  
be difficult or impossible to conduct the Check from step 1 accurately.

In the event that a special sync is needed, the phone sends all of the  
pending data it has to the server, and then the server provides it with a  
"clean" set of data for the user, rather than an "incremental" set of data.

In your case the cases will disappear from the device, and won't be  
resubmitted to HQ, since the phone knows HQ has received the data, and it  
assumes the cases were removed intentionally.

-Clayton

> **···**
>
> On Fri, Mar 3, 2017 at 10:00 AM, Simon Berry wrote:
> 
> > Thanks Nick. I think that will solve the problem!
> > 
> > One more question, if I may. The mobile workers tablets contain test data  
> > at the moment, ie the data we used to test the system and the cases they  
> > created during training. As I mentioned in my original post, the forms that  
> > created this data have now been archived so the cases no longer appear on  
> > the server.
> > 
> > If the data were left on their tablets, what would happen the next time  
> > they synced with the server? Would the data get sent to the server again  
> > given that what's on the tablets is no longer on the server? Or would the  
> > data be cleared from the tablets when they synced?
> > 
> > Regards
> > 
> > Simon  
> > 3/3/17
> > 
> > On Friday, March 3, 2017 at 7:17:39 AM UTC+3, Simon Berry wrote:
> > 
> > > Sorry, here's the screenshot.
> > > 
> > > S
> > > 
> > > On Thursday, March 2, 2017 at 11:58:35 PM UTC+3, Simon Berry wrote:
> > > 
> > > > Hi
> > > > 
> > > > I'm just about to launch a new app and I have purged the test data by  
> > > > archiving all the forms.
> > > > 
> > > > Then I imported the new data using case import and that seemed to work  
> > > > with the system reporting 1066 cases imported (see attached screenshot  
> > > > which shows the case type VBA). I then purged the tablet of data and  
> > > > installed the latest version of the app.
> > > > 
> > > > However, when I synced I didn't get any of the cases on the tablet.
> > > > 
> > > > When I try to use Reports \> Case List the Case Type 'VBA' is not in the  
> > > > drop down menu.
> > > > 
> > > > When I do a Case Export of VBA cases the file is empty except the  
> > > > correct property names in the first row.
> > > > 
> > > > Help!
> > > > 
> > > > Thanks in anticipation.
> > > > 
> > > > Simon
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "commcare-users" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Simon\_Berry](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/simon_berry/32/492_2.png) [@Simon\_Berry](https://forum.dimagi.com/u/Simon_Berry)\
**Post date:** [March 5, 2017, 5:27am UTC](https://forum.dimagi.com/t/cases-from-initial-case-import-not-being-seen/3314/7 "2017-03-05T05:27:47Z")

</div>

Thanks for this information. This is just what I needed. Very helpful.

Simon

> **···**
>
> On Fri, Mar 3, 2017 at 11:26 AM, Clayton Sims wrote:
> 
> > Hi Simon!
> > 
> > HQ triggers a special sync in some situations, two of which may be true  
> > here:
> > 
> > 1. When syncing the phone and server coordinate on what cases and data  
> > "should be" on the device according to the server., triggering that sync if  
> > the current set disagrees with the expected set
> > 2. When certain operations on HQ are performed that the server knows will  
> > be difficult or impossible to conduct the Check from step 1 accurately.
> > 
> > In the event that a special sync is needed, the phone sends all of the  
> > pending data it has to the server, and then the server provides it with a  
> > "clean" set of data for the user, rather than an "incremental" set of data.
> > 
> > In your case the cases will disappear from the device, and won't be  
> > resubmitted to HQ, since the phone knows HQ has received the data, and it  
> > assumes the cases were removed intentionally.
> > 
> > -Clayton
> > 
> > On Fri, Mar 3, 2017 at 10:00 AM, Simon Berry [simon@colalife.org](mailto:simon@colalife.org) wrote:
> > 
> > Thanks Nick. I think that will solve the problem!
> > 
> > One more question, if I may. The mobile workers tablets contain test data  
> > at the moment, ie the data we used to test the system and the cases they  
> > created during training. As I mentioned in my original post, the forms that  
> > created this data have now been archived so the cases no longer appear on  
> > the server.
> > 
> > If the data were left on their tablets, what would happen the next time  
> > they synced with the server? Would the data get sent to the server again  
> > given that what's on the tablets is no longer on the server? Or would the  
> > data be cleared from the tablets when they synced?
> > 
> > Regards
> > 
> > Simon  
> > 3/3/17
> > 
> > On Friday, March 3, 2017 at 7:17:39 AM UTC+3, Simon Berry wrote:
> > 
> > Sorry, here's the screenshot.
> > 
> > S
> > 
> > On Thursday, March 2, 2017 at 11:58:35 PM UTC+3, Simon Berry wrote:
> > 
> > Hi
> > 
> > I'm just about to launch a new app and I have purged the test data by  
> > archiving all the forms.
> > 
> > Then I imported the new data using case import and that seemed to work  
> > with the system reporting 1066 cases imported (see attached screenshot  
> > which shows the case type VBA). I then purged the tablet of data and  
> > installed the latest version of the app.
> > 
> > However, when I synced I didn't get any of the cases on the tablet.
> > 
> > When I try to use Reports \> Case List the Case Type 'VBA' is not in the  
> > drop down menu.
> > 
> > When I do a Case Export of VBA cases the file is empty except the correct  
> > property names in the first row.
> > 
> > Help!
> > 
> > Thanks in anticipation.
> > 
> > Simon
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "commcare-users" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "commcare-users" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> Please excuse any syntax errors. This email was sent from my phone.  
> 07932 107109.
