This section goes over a small example using rule debugger.
Create Business Object
Go to Application Studio for a practice solution. Create a Business Object called Client that is a Generic Object.
Add the following object
Attribute | Type |
---|---|
FirstName | Text |
LastName | Text |
ClientID | Number |
Deploy the solution.
NOTE: Attempting to run Rule Debugger on a Business Object that has not yet been deployed throws the following error
Create Business Rules
Using the rule generator create the following rules fro BO Client
- Create Object, add the fields to be generated
- FirstName
- LastName
Age
- List Object, include the following columns
- FirstName
- LastName
Age
Run Rule Debugger to Create and Retrieve Data
Click on the debugger icon
on one of the rules and choose the rule that creates an object (by default root_create_Client). Add appropriate data and run the rule debuggerIn the Rule Debugger, change the rule to the one that retrieves a List of Records (retrieve_objects_root_Client). Run the Debugger and notice that that data created is displayed (in JSON form)