Network analyst issue

Discussion created by nivm on Dec 20, 2013

In our product we are using the js api to set a route task (stops, barriers and directions).
Now, we want to make the next step.

We want to control the roads that the routetask will select,
I mean, if we know about a current traffic congestion, we want to to increament the specific road "weight", so the
route task will prefer other roads with "less weight" for this task.
I think this is the network analyst.

Is there any way we can reach this goal ?
How can we control the priority of each road ?
And how we should start the deal with the network analyst?

Thank you!