getShortestPath with string params