How to update other case or table data from user work list case in Offline Mobile app
We have a requirement to update other case and table data from user work list case in Offline Mobile app. Can you please let us know if it is possible or not. If yes, any solution would be very helpful.
we can get the data from a data page and load on a case from table and case, if we update the data, not sure how it is going to sync when offline to update the actual case and table data.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
While Offline does require that you use the D_pyUserWorklist data page and have certain fields in the report, you are free to include whatever cases you wish. All offline-enabled cases will be packaged and sent to the device. If you then wish to limit what cases appear in the user's worklist, you can add a visibility expression to the section include of the repeating dynamic layout to filter out certain work items based on the value of any of the columns in the report.
D_pyUserWorklist will fetch the current logged in user assignments, But I need to update other case which is not assignment to the logged in user. in this case can I still update that case information?
in other scenario, I need to load data from a table which is not a case related table and update the data to that table from a case in offline and need to sync when device turns online. Can you let me how we can load data and how sync is going to work in this scenario,
In either case, the data must be collected in the case that is assigned to the operator. You can use a utility shape or post processing activity to update other records on the server when the workflow is replayed on the server.
Popup will save data on workpage or an embedded page inside workpage. Then, when you Save and sync the workitem, offline process engine will run the post-processing activities/data-transform on server. Please note that this will happen only when the workitem is synced to server.
I am using 7.2.1 currently, so the link provided will not help. I have a ios custom mobile app with offline enabled, I am opening a popup using embedded page on a case which is offline enabled, But on submit of popup, nothing is working. I am doing it in online only.