Practice Debugging Using the Debug Business Rule Feature
- Select System Diagnostics > Session Debug > Debug Business Rule
- Recall the condition for the execution of Lab 5.1 Business Rule Debugging Business Rule is: current.state != 7. Update a record that will not trigger the Business Rule ->
- Open a closed Incident, make any changes to the record
- Save the record, remain on the form
- Scroll to the bottom of the Incident form and search for the execution of the Lab 5.1 Business Rule Debugging Business Rule by searching for the string ==> Lab 5.1 Business Rule Debugging. Did your test meet the Business Rule's Condition criteria? How can you tell?
- Test the case where the Condition field returns false. Examine the debugging output at the bottom of the Incident form for this lab
- Disable Business Rule Debugging: System Security > Debugging > Stop Debugging
- Make the Lab 5.1 Business Rules Debugging Business Rule inactive