Regarding Mobile Local storage (Under settings tab)- Offline scenarios
When can we use Clear Storage options in Mobile settings tab?
We are seeing some issues where some of the work items are not at all syncing to server. This may be due to connection issues or some assignment errors.
For these kind of sync failures can we use Clear Storage options? What exactly it does? Will it sync all the failure work items to server again?
Note: We are using ML8 (Pega 7.1.8) for Mobile Offline.
Scenario: Lets say user is syncing all the offline work items to server by coming to online mode. It has been connected to one of the application server and synced some of the screens as we are using screen flow (say 3 screens out of 7 screens). After 3 screens syncing all the app servers of the production application went down. So in this scenario User is going to miss remaining 4 screens properties? Will it be synced it again? Is there any way to sync them?
Please advice as our production application users are facing this issue. for some of the work items users are not able to sync to server at all.
***Updated by moderator: Lochan to add Categories; add SR details***
Basically we do a replay of all the action done in the offline mode whenever sync happens. This is called store and forward stage. Now to answer your question, if the sync is failing due to production issues or network issues, then those actions will be replayed again and work objects that are created offline will be reconciled as and when the production server comes back or when the device is again connected to the network.
Clear storage options will actually trigger full sync which will repackage all the rules and the data again from the application. This has to be done if there is any changes done on the application front with respect to the rules.
Thanks for your reply. But some of our sales agents (end users), offline work items not at all syncing to server even though they have good intenet connection. How can we identify this major sync issue as they are not at all syncing to server. User has provided error logs and attaching here for the same. Its being 5-7 days and offline apps still struck in his device. Is there anyway otherway to identify sync issues in ML8 version.
Please advice here to resolve this priority issue.
Seems like an issue with the work object reconcilation. Basically store and forward has to be monitored and debugged for items created offline. That way we will be able to pin point the exact issue at server side. I believe an SR would be necessary for this item.
Can I set pzStoreAndForwardProcessItems activity logger level setting to Debug to analyze the sync issues that we are facing now in our Production environment. And what are all the store and forward activities that need to be monitored to idenity this sync issues and their logger level?
Also, we have a SR for this to Pega team- SR-A85802 to analyze more. Our team provided necessary mobile client logs to idenify the root cause.
is there anyway otherway to manually sync to server from Mobile Device. Health Insurance enrollment applications are struck in Sales Agent's devices which is leading to complaince issue for our company. Please advice here!
There is one other thing you could try. Basically if there is any server side validation errors, the work objects will not be commited(at server side) and that particular action will not move along the action queue(at client side). One way to work around this phenomenon is by relaxing the server side validation. This way the offline work objects which are stuck in intermediary state could pass through.
If you have the access to offline storage items, you can actually check the action queue. This will give us a perspective as to which action is causing problem. You can even notice if there is any error message assosiated to the page JSON.