Can you force RouteTask to use a specific street?

Discussion created by evtguy on Apr 9, 2013
Latest reply on Apr 16, 2013 by evtguy
I just started playing with routeTask and, although it works great, it can produce some unintended routes. I can't see an obvious way to do this so I'll just ask- can you specify a parameter to the route task so that any route that is calculated MUST utilize a specific street?

I'm considering using the routeTask to help map road segments by specifying the starting and ending locations. The problem occurs if there's a major road that parallels the actual road I want because the calculated route will jump onto the major road instead of following the local road. In my simple tests, the route task would create the route I wanted if I was able to add another stop along the road I'm interested in and between the two end points.