AdvoLogix Help

Post Processing API Callback

Updated on

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.

 

Previous Article Creating an AdvoDoc Document via Process Builder
Next Article Can I produce documents for other objects?
Still need help? Click here!
AdvoLogix® is a registered trademark of AdvoLogix.com LLC a Texas Limited Liability Company. All references to other trademarks belonging to third parties that appear on this website, documentation, or other materials shall be understood to refer to those registered trademarks owned by others, and not to any trademark belonging to AdvoLogix. Otherwise, all material herein is the copyright of AdvoLogix.com LLC. All Rights Reserved.