Include my network in a JavaScript Closest Facility

Discussion created by cgargon on Feb 20, 2014
I am using the examples from the ESRI web
to create a customized Closest Facility application. I am trying to do the same process that the example shows but I want to use my own road network. How can I include it?

I attached the coded in case It can help