I have always struggled to get Sync Rules working correctly so have largely avoided modifiying them. However, i need to modify the Task one as we have an issue whereby when a person gets tasked to a new Task, they only see Request Notes added after they have been Tasked. We need them to get ALL the Previous Notes for that Request.
How i understand Sync Rules is that:
1.The Ownership Query decides who gets the data
2.The Initial Query is the one that runs when a device is initialised
3.The Related Query is the one that runs once data in the Table (Task in our case) gets updated.
The problem i have had before is when modifying the Related Query it sent too much data and clogged up the system for a week. I had checked all the joins etc and they were all correct. I cant post it here as i undid it a long time ago.
Anyone have any pointers or tips for using and modifying these?