For more information:
The xsjs function being called by the job looked like:
function testSchedule(input)
{
$.trace.debug("id :" + input.id);
var id = input.id;
var value = input.value;
}
In the trace logs it is giving me the error:
reference to undefined property: input.id.