Back to LinkedIn posts

LinkedIn post 300

๐Ÿš Automating an Air Ambulance Salesforce org โœˆ๏ธ

๐Ÿš Automating an Air Ambulance Salesforce org โœˆ๏ธ

About 12 years ago, I had started working more heavily with Salesforce and was asked to fix a Salesforce trigger for an air ambulance company.

During the process, I noticed something odd โ€” they were calculating the distances between airports manually! ๐Ÿ˜ฎ

I then proposed a solution: automating the calculation of distances using the Haversine formula (it is what the DISTANCE function uses but none of those functions existed at that time).

That mathematical formula uses trigonometry to determine the shortest distance between two points on a sphere, accounting for Earth's curvature, given the latitudes and longitudes.

The Math I learned in that Oceanography class was finally paying off! ๐Ÿณ๐Ÿ˜…

By implementing it as a Salesforce trigger (flow was vastly inferior and unsuitable at that time), I hoped to avoid manual errors and increase the speed of dispatching critical air ambulance services. ๐Ÿš‘

Sometimes a small change can make a huge impact, especially in time-sensitive industries. The stakeholder was so happy that they sent Tiff's Treats Cookie Delivery to me and the team! ๐Ÿช๐Ÿฅ›๐Ÿ˜„

Later I saw someone posting a similar challenge on the Salesforce Stack Exchange and gave the answer linked below:
๐Ÿ”— https://lnkd.in/gerBY4iS

#Salesforce #Automation #Efficiency #AirAmbulance #Haversine #ProblemSolving

diagram
  • #Salesforce
  • #Automation
  • #Efficiency
  • #AirAmbulance
  • #Haversine
  • #ProblemSolving