Skip to Content
0
Dec 11, 2020 at 02:44 PM

SAP Cloud Platform Job Scheduler - Update Job Run Log

196 Views

Hi all,

I have a node.js scheduled as a TASK in SAP Cloud Platform Job Scheduler service, and I need to call the Job Scheduler API to update the status of an asynchronous, long-running job, and based on the below documentation I need to call a REST service:

Update Job Run Log

PUT /scheduler/jobs/ {jobId}/schedules/{scheduleId}/runs/{runId}

How can I receive, inside on the node.js application, the values of jobId, scheduleId and runId from the running task?

Regards,

Fabiano Rosa