Best way to trace business rules or scripts connected to an event.

mikem1
Kilo Contributor

Data is entered in a form, it is then submitted. there is a rule(s) or script(s) of some sort that either creates a new Incident, or appends it to an old one if some of the fields match. Im looking to change this behavior slightly. However, I am having a hard time explicitly finding the business rules or scripts doing the comparison and im looking for methods to trace back to the "Business Rules" or "scripts" invoked for any particular event.

Thanks,

Mike M.

1 ACCEPTED SOLUTION

Felipe32
ServiceNow Employee
ServiceNow Employee

As an admin, you can add the True/False property "glide.businessrule.callstack" to the sys_properties table (System Properties > All Properties).



Then you can see which business rules are being triggered on the node you're connected to, by looking into the system logs (System Log > Node Log File Browser).



This will increase logging substantially, so set the property back to false after you're done with troubleshooting.


View solution in original post

1 REPLY 1

Felipe32
ServiceNow Employee
ServiceNow Employee

As an admin, you can add the True/False property "glide.businessrule.callstack" to the sys_properties table (System Properties > All Properties).



Then you can see which business rules are being triggered on the node you're connected to, by looking into the system logs (System Log > Node Log File Browser).



This will increase logging substantially, so set the property back to false after you're done with troubleshooting.