Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
JobStatusNotificationService Class
Use this Apex REST class to receive job status notifications from external batch processing systems. The class processes HTTP POST requests that contain job execution status information for Trade Promotion Management (TPM) operations. When a notification is received, the class validates TPM licensing, parses the notification payload, and routes status updates to the appropriate handler.
doPost(notification)
Processes job status notification payloads received through HTTP POST requests. The method validates TPM licensing, parses the incoming JSON notification, identifies the job chain type, and delegates processing to the appropriate handler. Comprehensive logging and error handling are implemented for JSON parsing errors and general exceptions.