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
Nils TertlingNils Tertling 

Field Service Lightning - Cache within the app on work order

Hi,
I have a problem regarding an issue within the FSL app and especially the cache:

THE SETUP

Every Day we have between 3-5 Service Appointments each with corresponding work orders for a mobile worker. On each of these Work Orders we have related objects such as related Work Order Line items.
We use a Field Service Lightning Flow that allows the mobile worker to "Clock In" or Out of the service. This Flow queries various related objects starting from the work order in order to present the right information.
We work with the latest FSL App on the latest iOS Version
Caching in the FSL Mobile settings are set to:

Record Data Cache Time in Minutes: 15
Metadata Cache Time in Days: 7
Schedule Update Frequency in Minutes:5 
Enable Full Edit on Records: False

THE CHALLENGE

When the mobile worker clicks the lightning button and executes the flow he has only a slim chance that the flow actually gets the correct information. So we swipe down on the work Order Detail screen in order to get the latest info and there's seemingly a 50/50 chance that he actually gets the correct related records into the cache. (looking at the related tab of the work order). When he does get all infos, everything works perfectly.
We would like to be certain that the flow always gets access to these related records without having to constantly swipe down and hope for the best. 

Any input or ideas on why this happens and/or how to fix it are greatly appreciated.
Nils TertlingNils Tertling
From the partner community I heard that there sees to a known issue which is followed up on by the development.

Does anyone have further information regarding this?

Thanks!
romi guptaromi gupta
we swipe down on the work Order Detail screen in order to get the latest info and there's seemingly a 50/50 chance that he actually gets the correct related records into the cache. (looking at the related tab of the work order). When he does get all infos, everything works perfectly.
https://www.uptunews.in/2019/03/upsee-rank-predictor-2019.html