Problem Description
In MAS environments, users may experience Cloudflare timeout issues when fetching large datasets for Maximo Mobile applications running in the native/container app. These timeouts occur when data retrieval operations exceed the maximum allowed response time, resulting in failed data synchronization and degraded user experience.
Solution
MAS environments support an asynchronous data fetch mechanism that prevents timeout issues by decoupling the data request from the data retrieval process. This is achieved through the maximo.mobile.async.fetch system property.
Configuration Steps:
Add the following system property, if not already exist, in the Manage/Maximo System Property application:
- Property Name:
maximo.mobile.async.fetch
- Global Value: 1
- Data Type: Yorn
- Security Level: Secure
Important: Perform a live refresh after saving the property to ensure the changes take effect.
How It Works
When this property is enabled, the data fetch process operates asynchronously:
- The mobile application initiates a data request to the server
- The server immediately responds to acknowledge the request and begins querying the data in the background
- The mobile application polls the server every 5 seconds to check if the data is ready
- Once the data is prepared, it is returned to the mobile application on the next poll
This approach prevents timeout issues by ensuring that the initial request-response cycle completes quickly, while the actual data retrieval happens asynchronously in the background.
Important Notes:
- This property is specifically designed to prevent Cloudflare timeout issues
- This feature is only supported in MAS environments and is not available in EAM
- The property applies to all data fetch calls from Maximo Mobile applications running in the native/container app