The AdvoDoc API Callback allows administrators and integrators the ability to extend the automation process of document creation with custom functionality. This may be especially useful when integrating with third party document management systems.
Introduction
The AdvoDoc callback function accepts a single string parameter passed to the function upon creation of a new AdvoDoc document.This parameter is a JSON formatted version that includes the 1) AdvoDoc Log record identifier, 2) a Success or Failure flag and 3) the Result message confirming if execution was successful or has encountered an error (with error message detail).
Sample Parameter:
{ recordId: "a0N9000000NLlXXEA1", success: "TRUE", result: "The AdvoDoc has been created successfully." }
Where:
- recordId : the AdvoDoc Log record’s identifier
- success : will be TRUE/FALSE (True = AdvoDoc generation was successful, False = AdvoDoc generation encountered an error)
- result : error message (when applicable)
For More Information
- To ensure AdvoDoc calls your method, you must first specify the method in AdvoLogix Setup.
- See the Salesforce Developer's Guide for details regarding the implementation of Apex Callback Methods.
- Please contact AdvoLogix support for code samples or additional questions.