Mobile approval task not loading on iOS app due to custom UI policy validation

Approval tasks assigned to users are not loading in the iOS mobile app (version 6.4). The task appears in the approval list, but when users tap to open it, they get a blank screen with a loading spinner that never completes. The same tasks load fine in the web browser and on Android mobile app.

We have custom UI policies on the approval form that validate required fields and show/hide sections based on request type. My suspicion is that one of these UI policies is causing the iOS app to fail during form rendering. The mobile app logs just show “Form load timeout” without specific details. Has anyone experienced form validation issues preventing mobile approval task loading on iOS specifically?

That’s a good lead. We do have one UI policy that calls a script include to validate budget codes against an external system. It’s an async call but maybe the mobile app isn’t handling the async callback properly. Should I try disabling that UI policy for mobile users? Is there a way to configure UI policies to skip execution on mobile?

Interesting point about hidden required fields. I checked and we do have a scenario where the ‘cost_center’ field is required but gets hidden by a UI policy if the request type is ‘non-financial’. This could definitely be the issue on iOS. Let me test by temporarily removing the required attribute from that field.

iOS mobile app has stricter JavaScript execution timeouts compared to Android. If your UI policy has complex validation logic or makes synchronous API calls, it could timeout on iOS. Check if your UI policies have any GlideAjax calls or complex calculations that might take longer than 3-4 seconds to execute.