Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Tracking mobile users based on geolocation data

Updated on April 27, 2022

Record the location of users of offline-enabled mobile apps who work on specific assignments by enabling constant tracking for case types. For example, enable tracking in tasks for service employees in the field so that dispatchers can effectively assign work to the employees based on their current location.

Location recording automatically starts when a case with the constant tracking functionality appears on the mobile user's worklist. The recorder tracks each case separately and remains active even when the app is in the background.

Location recorder stops in the following scenarios:

  • No more cases with constant tracking appear in the user's worklist.
  • User logs out of the app (Android and iOS).
  • User closes the app (iOS only).
  1. In the navigation pane of App Studio, click Case types, and then click the case type that you want to open.
  2. On the Settings tab, click the General category.
  3. In the Geolocation tracking section, enable tracking for offline-enabled apps:
    1. Select the Enable geolocation tracking checkbox.
    2. Select the Enable constant tracking when app is offline-enabled checkbox.
  4. Click Save.
Result: When you build an offline-enabled app and a case type with constant tracking appears in a mobile user's worklist, the location recorder runs in the background and tracks the location of the user while they work on the case. You can enhance this functionality with a Map control that displays the tracks of mobile users in a web portal for dispatchers.
For example: A mobile app developer for the uPlus company enables geolocation tracking for an expense claim case type.

Geolocation tracking enabled for a case type
The image shows the configuration settings for enabling geolocation tracking for a specific case type in Pega Platform.

What to do next:
  • Previous topic Sending push notifications with the push console
  • Next topic Enhancing a mobile app with the native header

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us