Message
API name: cpm__Message__c
Description
The Message object is used to add actions to a queue for asynchronous processing. Messages in the queue are picked up by their respective inbound or outbound queue handlers. The queue handler calls the handler class and passes the message record along for processing.
Fields
The following table outlines key fields for this object. For complete details, please use the Salesforce Object Manager.
Label | Type | Description |
---|---|---|
Handler | Text(255) | The Apex Class implementing the IQueableMessage interface that is picked up by the FinDock Core Queue Process and is responsible for whatever needs to be executed |
Status | Picklist | Default status is Scheduled which FinDock updates accordingly when the message is picked up |
Payload | Long Text Area(130000) | Because the execution of the message is asynchronous, you can add additional parameters to the payload during creation which can be used in the handler during execution |
Type | Picklist | Indicates if the message is Inbound or Outbound |