We’re currently working on a feature in Sync 2.0 module that allows executing manual synchronization of selected records. It’s going to be an API that exposes method, that could be easily used in a custom widget in other modules - for example from the patient page.
From my research follows that when we’re retrieving any feeds from AtomFeed - each found one is immediately being processed. We can specify the category - so for example, only patients would be synchronized, but there will be a problem with synchronizing single entity.
I’m wondering if that’s even possible use case, that someone would want to synchronize a single object if probably there will be a scheduled task to synchronize all of them anyway. I wasn’t able to find any reasonable solutions to synchronize a single object with AtomFeed - we could, for example, save objects that were found by AtomFeed but wasn’t synchronized, and synchronize them later, in scheduler execution - but I’m not sure it’s worth it, as this might not be even used in the future.
Do you think we should cover the case when only one specific object is being synchronized? If so, do you have any better ideas on how to achieve this?