Practice Debugging Using GlideSystem Logging Methods

  1. Open the Lab 5.1 Business Rule Debugging Business Rule
  2. Select the breakpoints to remove them (remove them all)
  3. Notice two undefined functions are called in this script: thisFunctionDoesNotExist() is in try/catch section; thisFunctionAlsoDoesNothing() is NOT in a try/catch
  4. Force the Lab 5.1 Business Rule Debugging Business Rule to execute ->
  5. Open any active Incident, change the State value to anything except Closed
  6. Select Update
  7. Open System Logs > System Log > Script Log Statements. Which undefined function produced an error and why?
  8. Was a log message produced for the undefined thisFunctionAlsoDoesNotExist() function?
  9. Search the log records where Message contains thisFunction
  10. Did you find the log message advising thisFunctionAlsoDoesNotExist() is not defined?

results matching ""

    No results matching ""