Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Mileage values are higher than expected



Application is configured with Global Positioning System (GPS) tracking and mileage calculation. However, mileage values are higher than expected.

Error Messages

Not Applicable

Steps to Reproduce


Root Cause

A defect in Pegasystems’ code or rules. An issue with the Production. User is able to verify the values on the Clipboard and map the plot. Coordinates of this user are present in the JSON format. On plotting it, pin displays at Philadelphia which is far from the user's work location.



Perform the following local-change:
Implement the below filters:

  1. Filtering based on distance: If the distance is greater than the defined distance threshold, it is considered as a valid coordinate, else, it is skipped
  2. Dups filtering: Maintain a GPS Dups table for the duplicate coordinates such that it does not add up to the summation logic for the distance

Suggest Edit

Published March 16, 2019 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us