{"ref":"content:how-to-approve-reject-task-via-api-in-sap-build-process-automation","page":"/content/how-to-approve-reject-task-via-api-in-sap-build-process-automation","json":"/content/how-to-approve-reject-task-via-api-in-sap-build-process-automation.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"how-to-approve-reject-task-via-api-in-sap-build-process-automation","title":"How to Approve/Reject Task via API in SAP Build Process Automation","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/how-to-approve-reject-task-via-api-in-sap-build-process-automation/ba-p/14012313","content_type":"blog","published_on":"source:sap-community","explains":["artifact:btp-build-process-automation",{"ref":"capability:task-uis","applies_to":{"ecosystems":["btp"]}},"capability:workflow-integration"],"summary":"Walks through the Workflow API's `/task-instances` PATCH call that [SAP Build Process Automation](artifact:btp-build-process-automation) exposes to approve or reject a user task from outside its Inbox, matching the instance ID from the Monitoring tab and the identifier of the button the approval form defines. Covers the permission split between an authenticated user, who needs the ProcessAutomationAdmin or ProcessAutomationParticipant role collection to appear as the one who completed the task, and Client Credentials, which completes it as a generic client identity, plus the error codes the API returns for a missing instance, an already-completed task or an invalid status.","short":"Approving or rejecting Build Process Automation tasks via API","author":"Dan_Wroblewski","published":"2025-02-10","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"btp-tag"}],"first_seen":"2026-09-26"},"drafted_with_ai":true,"history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:task-uis","reason":"Door scope derived from the artifacts this piece also explains, so a door page lists it only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 21 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-02-10"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":10563,"unit":"views"},{"value":10,"unit":"comments"},{"value":5,"unit":"likes"}]},"signals":{"views":10563,"likes":5,"comments":10,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}