Advanced work assignment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2024 11:16 PM
We have a requirement for advanced work assignment. We need to assign an incident to a user who is nearest to the caller's location. The caller's location is populated in the incident form’s location field. After selecting the service offering, the assignment group is also populated. We want to assign the incident to a user within that group who is closest to the caller's location. Users' locations are stored in the user table.
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2024 02:23 AM
@Aishwarya_01 You can achieve this via a business rule/assignment rule which runs when the ticket is inserted. In this business rule you can use the GlideGeoPoint API to calculate the distance between two locations. You can compare caller's location with the location of all the agents in the assignment group and assign the ticket to agent who is nearest.
Please refer to the following documentation related to GlideGeoPoint API for more information.
Please mark my response helpful and accepted solution if it addresses your question.