BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

SAP Job Scheduling Service: Set Job Run Status with the REST API and Node.js

Walks through recovering a stuck asynchronous job run in SAP Job Scheduling service: when a triggered app fails to call back, the run stays at ACK_RECEIVED and eventually UNKNOWN, since the scheduler never assumes success or failure on its own. The fix is a Node.js script that reads a downloaded service key, gets an OAuth2 client-credentials token, and calls PUT /scheduler/jobs/{jobId}/schedules/{scheduleId}/runs/{runId} with a success/message body to set the run to FAILURE or SUCCESS by hand.

Where it sits

Explains
Job schedulingCAPBTPJob schedulingcapabilityRunning something later, or on a cadence, without keeping a process alive to do it — a nightly job, a retry in an hour, a report on the first of the month — and knowing afterwards whether it ran.SAP Job Scheduling serviceCAPBTPSAP Job Scheduling serviceserviceCalls an application's endpoint on a schedule or once at a time and keeps the log of every run — cron without a process of your own to keep alive.
Source
reachable

Who is behind it

DenisDuevauthor

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
1,584

More on this3

Group by
Piece, what it offersStill applies
Also explainingJob scheduling3
Automate Recurring Data Updates in SAP HANA Cloud
SAP Community, Joni
nothing recorded
SAP Job Scheduling Service: 🔧 Generate Your Own Client Library from OpenAPI Spec
SAP Community, DenisDuev
nothing recorded
SAP BTP Cloud foundry Job Scheduling for CAP based project
SAP Community, sunojmichael1
nothing recorded

Details

Graph4 edges
POINTS OUT →
explainsJob schedulingcapability, core only
published onSAP Communitypublishing source
discovered viaSAP Communitycloud-foundry-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · cloud-foundry-tag.
For your agent
Ref
content:sap-job-scheduling-service-set-job-run-status-with-the-rest-api-and-node-js
JSON
/content/sap-job-scheduling-service-set-job-run-status-with-the-rest-api-and-node-js.json
MCP
Connecting an agent