Hey,
I'm having an issue when syncing 3 of my surveys, in the Survey123 field app. I have 15 surveys in total that run concurrently for data collection in the field. We sync the surveys and inboxes at the end of each day so each team has the data collected from the other team.
When I sync the inbox of one survey (of the 3 problematic surveys), there are no issues, however when I sync the inbox of either of the other two problematic surveys, it wipes the synced records in the inbox I just synced. In other words, syncing the inbox of any one of these three surveys will wipe the synced inbox of the others (we are only able to have one of the three survey inboxes synced at any time).
This is only affecting the 3 surveys in question, the other 12 surveys I have are fine and are not wiped.
The surveys themselves are working fine and the Inbox is enabled etc.
Any help would be greatly appreciated.
Hi,
How is the inbox being used in this scenario? It sounds like you have all 15 surveys referencing the same feature service? Are the field workers editing existing records by using the inbox? Are they offline at time of collection?
If the field workers are editing the same records using the inbox, the last one to submit their records from the inbox will overwrite the previous. I suppose more info would be helpful. For instance,
Scenario 1
Field worker 1 - edits records 1,2,3 from inbox and waits to submit (records waiting in Outbox)
Field worker 2 - edits records 4,5,6 from inbox and waits to submit (records waiting in Outbox)
This should not cause an overwrite of data once records are "synced"
Scenario 2
Field worker 1 - edits records 1,2,3 from inbox and waits to submit (records waiting in Outbox)
Field worker 2 - edits records 1,2,3 from inbox and waits to submit (records waiting in Outbox)
The last field worker to submit wins in this scenario.
Let me know if this makes sense, and if possible please provide more details related to your workflow.
Best,
Brandon
Hi Brandon,
Field workers create new records, and edit existing records whilst out in the field. They will not edit the same record concurrently as in Scenario 2. They can be online and offline, but we work under the premise that they are offline when collecting, and both teams will sync the surveys in the field app when they meet up at the end of the day to ensure everyone has sent all the records from their outboxes and refreshed all their inboxes, i.e. as in Scenario 1 above.
The individual records within the surveys inbox are fine. The issue arises in the following way after all records have been sent in all outboxes:
Hopefully this makes the issue a bit clearer. It's hard to explain, without physically showing the issue. So I apologise for the confusion.
In regards to Feature Service, I am building and editing surveys that were originally built by someone else. How could I check if these 3 surveys are using the same feature service?
Cheers,
Steph