Was this helpful?
Run a Provisioning
We will now run our provisioning, which is the same as running our job. In this case, a scheduled run will execute ever 360 min, but we may want to run manually. We are going to execute a run with no runtime parameters for provisioning "12272".
First, create the POST body containing the provisioning id.
var dataObj = 'provid=12272';
restCall('run?s=' + sessionId, 'POST', dataObj, hdlRunSuccess, hdlRunFailure);
With the handler looking like:
var hdlRunSuccess = function(data) {
   alert('Successfully queued');
}
var hdlRunFailure = function(data) {
   alert('Failed to queue provisioning');
}
As long as the provisioning was queued successfully the DataCloud should execute the job at its next available time. Wait for the run to execute.
Last modified date: 12/17/2021