Hi,
I'm using the job scheduling provision provided in HANA SPS 7 rev 71. However, I'm not able to pass the parameters to the job successfully. I've followed the HANA dev guide for the steps to add parameters to a job.
I've adding job via syntax:
var myjob = new $.jobs.Job({uri:"<full job path>.xsjob"});
id = myjob.schedules.add({ description: "adding job for id : "+id, xscron: "* * * * * * 59",
parameter:
{ "id": "44",
"value": "12",
}
});
I'm calling a function from the job and using the parameter variables as:
function testSchedule(input){
var id = input.id;
var value = input.value;
...
}
I'm getting the error of id and value being undefined.
Could anyone please guide me ASAP on this?
Thanks.