I have came across an unexpected "issue" while working with the Esri JS API and ArcGIS Server Network Analysis service.
Once user submits the route solving task to the server, I'm appending the polylineBarriers to the RouteParameters. These polylines are pretty much the barriers affecting the route analysis. I'm also setting the "returnPolylineBarriers" to "true", in hope to get all the polylineBarriers that were encountered during the route solving task.
But I was fairly disappointed when I realized that this parameter just returns all the polyline barriers that I've submitted, even if these might be not obstructing the route at all.
My question is, is there any way I could get the array of all polyline barriers that affected the final solved path?