Zorp Docs
Search
⌃K

Location Check Condition

Validate the proximity
Location check condition can be used to validate the proximity between two location coordinates.
Location check
Location check details:
Name: A recognisable name for your location check condition
Set Condition: Set an expression to programatically skip the condition execution
Latitude1 and Longitude1: Static or dynamic expression to set the latitude and longitude for first location
Latitude2 and Longitude2: Static or dynamic expression to set the latitude and longitude for second location
Maximum Allowed Distance Difference: Set the maximum allowed distance between location1 and location2, in meters
Error Message: Text for the error message in case the validation is unsuccessful
Some common use cases:
  • Check if the delivery executive's location is within a specific distance from the customer's delivery location
  • Validate if your on-ground personnel are marking their attendance in the vicinity of the warehouse
  • Validate if your field sales personnel is completing the task in the specified task location