Navigation: Javascript API > Global functions
jr_get_instance_id()
This function returns the JobRouter instance ID as the data type Number .
If your JobRouter environment is not instanced, you will always receive the value 0. 0.