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.
The following table outlines key fields for this object. For complete details, please use the Salesforce Object Manager.
|Handler||Text(255)||The Apex Class implementing the IQueableMessage interface thatis 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|