Posted: 17 Jun 2020 1:59 EDT Last activity: 24 Jun 2020 7:45 EDT
Auto case creation in Pega Mobile app
I have used OOTB Activity "pyMobileSnapStart" to construct a URL and create a Work Object on successful login. This works fine when I login in desktop, i.e after login a WO is created automatically and the assignment is displayed to the user to perform.
But when I try to login into the system through Mobile Preview App, login is successful but the screen keeps loading. Below are the few observations I observed.
1. Two WO are getting created for each login from mobile but none is displayed on screen. Screen keeps loading(I could see this from the WO instance list)
2. There are some warning and errors messages (licationData._baseclass.Stream), (agment.WorkFormStandard.Stream)
logged in the log file. Attached snapshot below.
3. Login is happening in one requestor session and that getting terminated and new requestor session is getting created and in that new case creation is happening.
4. Could able to see multiple requestor sessions in the remote tracer for the particular operator.
Any help on finding root cause or how to resolve this will greatly help. Thanks in advance.
Can I ask what is the exact use case you're implementing? My personal feeling is that there should always be explicit user action to create a case. As an end user I'd like to be sure new case is only created when I asked for it. Because of the nature of mobile OS I'd never know that. It's up to a mobile OS to decide if and when application process should be terminated. On a powerful device which is not heavily used mobile app can be running in background for days. End user would expect it to create a new case after clicking on app icon while in fact the app will only be restored from background and new case will not be created. My recommendation is to keep 'Create' button with create work action assigned on a bottom app bar (it should not be the leftmost item).