Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to open simple assignment in Offline

SA-43955

Summary



User is unable to open assignment in Offline from work list of iOS Custom mobile application.

It is throwing an error.


Error Messages



Getting 'Cant perform this operation when offline' error.


Steps to Reproduce



1. Enable Offline for case type from case type settings.
2. Enable Optimistic locking.
3. Enable Offline support in User Access Group and assign pyCaseWorker portal.
4. Build iOS Custom mobile application.
5. Install the ipa file on iPAD and open the application in offline.
6. Login to the application in Offline and click on any assignment (Which has a simple flowaction without any pre and post activities and a blank section).


Root Cause



The issue might have occurred due to following reasons:
  • User did not have pxRefObjClass property in the source Report Definition(RD) of the worklist datapage. This is needed to package the assignments and also to be able to open them in offline. Without this the case would be rendered as online(desktop like). After this user further has issue in opening the assignments.
  • The workitems packaged in the full sync are removed by a subsequent delta sync because the workitems are not populated by the pzGetWorkObjDataFromAssignment RD.
  • There are multiple classgroups, each case is a class group, and each class points to a different table. And the operator workpool is the topmost class group. This will not work as the workpool has to be of the child case's classgroup which the user wants to open in offline.
  • Changing the workpool to child case's classgroup fixed the issue for the user.


Resolution



Type: Local-change

LocalChange 1 : Include pxRefObjClass property in the source RD of the worklist datapage to get the assignments packaged and make the case offline.

LocalChange 2 : Change the workpool of the offline operator to the child case's classgroup which the user wants to open in offline. This is necessary for the workitems to remain in the clientstore on deltasync.


Published December 15, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us