My Worklist not showing when mobile when in offline mode

We have build mobile channel with offline support for a case.

We are showing Work List, Case List and Log off as the navigation in the channel which would be shown when app is loaded.

“Work List” list page is mapped to the Mobile list pyWorkList from (Pega-EndUserUI:08-06-01) with Data source being D_pyMyWorkList.

When user logs in through IPad when network is available. It loads the channel successfully and shows all the data correctly in different pages like Work List / Case List screens. In the Work List, user is able to view all the worklist items assigned to user. and able to open worklist items and work on it.

When IPad is moved to airplane mode (so as to test offline functionality), not able to view any items in the Worklist view. Its showing an empty screen without any data(attached screen for reference).

Case List screen is showing all the list of cases and also able to open those cases(so seems this list is synchornized properly).

One thing that I observed is in log files I am seeing error statements with below messages for each of the worklist items during Synchornization of app(during login to app). But still Mobile channel loaded successfully.

2024-04-04 10:12:40,776 [l-apr-8443-exec-2474] [ STANDARD] [MyMobile:01.01.03] (reams.packaging.PackageRuntime) ERROR |Rest|offlinehttp|DataSync|pzsynchronizationservice659e93e2c8d5308618ab6c53efafdd5b|A3MFE908Z3ZWWK63TXOK383GL9N3K2PQJA - Packaging | WorkListProcessor | | Corrupt work list item with class name, assignment key and work object key respectively: , ,

Not sure what I am missing with Work List view. Any suggestions?

@AnandI0386

Is the worklist rendered through Native List or Harness? If this is rendered through Harness, can you please provide a screenshot of the configuration?

@AnandI0386 I believe the datapage that you are using “D_pyMyWorkList”, is not an offline supported DataPage because on the offline synchronization rules, I don’t see that datapage declared for synchronization in any of the scripts. I believe it is only supported for Online only. Instead of that one, can you try “D_pyUserWorkList” datapage? And in the mobile navigation rule, for the Work List, can you use the “Worklist” harness as mentioned on the screenshot? I think this change should work and you can customzie the report rule “pyUserWorkList” to have granular control on the list of the Work List.

@AnandI0386 this link they explained how to configure navigation for offline app to get myworklist items. Follow the mentioned steps by pega.