function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Giovanna PerrettaGiovanna Perretta 

iOS Crash performing a Service Mobile flow

Hello,
I have configured a Field Service Mobile flow that should help technicians in managing their Service appointments. Among the actions to perform they need to update multiple contacts information during the service visit. So basically the users can update email and name of multiple contacts in the same flow.
Using iOS phones I'm facing issues running this service mobile flow that have been successfully tested in sandbox and it's properly working in android. When moving from a screen to another one the app goes black and then quit (crash).

Below some device details:
  • Device name: iPhone 8
  • OS type and version: 11.2.2
  • Salesforce App version v4.0.2 Build #1054
I'm attaching a copy of my flow. Below the step description:
1- Trough record lookups I'm getting the Service appointment, Work Order and Account Details
2- In the first screen I'm displaying the Account data (standard and customs field). The flow crashes just before without displaying this screen in all the iOS devices.
3- The technician can decide to modify the Account data and in case access a screen to update the Account
4- The technician than should display the contacts and he can decide if he wants to update existing contacts or create a new one. Trough a dynamic record choice I'm letting user to pick to contact to modify and I have a screen "Screen Update" where I'm asking if the user wants to update a second contact or not
5- At the end the technician can decide to create an Inside Lead (custom object)

In the flow you can see that there are steps named "Tracking". The goal is to track on the Service appointment what has been done during the flow so if an Account field has been modified on the Service appointment I set that the field has been modified and which is the value that has been set.

I have already Purge Cached Metadata. I got the log file when I can read the following error: "2018/05/14 11:40:36.143 FieldServiceApp[2074:e103] ERROR com.salesforce.ServiceCloudKit.FieldService.Core <SCFieldServiceCoreAction.m:60 -[SCFieldServiceCoreAction completeOperationWithError:]>: Network request error, action /query, error The token refresh process timed out."

Any suggestions on the cause and how to solve it?

Thanks
Giovanna

Service Mobile flow