Abort Endpoint Configuration
Two Off_Platform_Endpoint_Map__mdt records route the abort requests. The managed package includes both records, so you don't need to set any URLs. Both records are protected.
| Developer Name | HTTP Method | Path | Service | Target Tenant Selection Mode |
|---|---|---|---|---|
| JOBCHAINWORKER_ABORT_GET_JOB_ID | GET | /jobchainworker/job | tpm | SalesOrgSubstrate |
| JOBCHAINWORKER_ABORT_DELETE_JOB | DELETE | /jobchainworker/job/:k8sjobid | tpm | SalesOrgSubstrate |
The paths do not contain a version. The managed package adds the version when it sends the request.
The SalesOrgSubstrate mode finds the target tenant from the sales org that you pass to OffPlatformCallout. For this reason, the sales org is required.
The :k8sjobid variable in the delete path must match the key in the map that you pass to execute().