To enable the callback interface for IAgreementLifecycleCallback2
- Write a class implementing the Interface.
- Overwrite the methods and write what you want to add in a specific action method.
- Go to > Custom Settings > Comply Custom Classes.
- Create a New Entry.
- Execute actual Action and check the log.
- Create Apex Class implementing the Callback Interface.