The video below introduces ABL operations: how to define business logic, and debug it using the console log and debugger. It presumes you have watched the short video on the home page, and read the 2-page Technical Summary. It is intended to be viewed after download/verification - use BusLogicDemo/Intro to perform these steps on your machine. But even if you haven't downloaded anything yet, it is also a good way to understand the product. The following topics are discussed, which you can learn more about by clicking the links below:
- Business Logic Components: these are the classes in which you place your Logic Annotations
Logging and Debugging
: Logic Engine operation
is transparent - you can employ familiar services for logging and debugging to understand and debug your logic
- Forward Chaining: logic can chain from objects you update to related objects (automating complex, multi-table transactions), as can be seen in the log
Click the video below.
It's a great idea to repeat these steps on your own install; to experiment with debugging, please:
- Download the attached
CustomerLogic.groovy (at the bottom of this page)
- Place the attached file in this location
Be aware that ABL supports advanced services for administering your logic, including
- Dynamic Logic enables you to reload changed logic without restarting your JVM
- Recompute services enable you to verify whether your existing data conforms to your logic annotations, and (where possible) to recompute your data per the logic annotations
- Logicdoc to capture requirements transparently for sharing with Business Users, with full traceability into the underlying logic
Please see here to read more about business logic, and if haven't already done so, download a free copy.