How to check what Business rule, Ui policy, client script is running currently?

Bharath kumar6
Tera Expert

I am setting the Active false for a change request record and automatically state changing to Closed successful.

I need to know why its happening. Is it because of any Business rule or client script or ....

 

 

1 ACCEPTED SOLUTION

SaschaWildgrube
ServiceNow Employee
ServiceNow Employee

To identify the business rules and flows that run on a record when inserting, updating, deleting, displaying or querying the record the DevTools' WhatRuns button comes in handy.

As the name suggests it shows you what runs on a record (including business rules on parent tables).

DevTools contains a truckload of re-usable functions and features for developers.

Fork at will:

https://github.com/saschawildgrube/servicenow-devtools

View solution in original post

2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi

It is most likely due to some business rules. You can find out which Business Rules have fired via the Script Tracer. 

You can watch an introduction to that debugging tool at https://www.youtube.com/watch?v=qWxJbJvDMuE

Kind regards
Maik

SaschaWildgrube
ServiceNow Employee
ServiceNow Employee

To identify the business rules and flows that run on a record when inserting, updating, deleting, displaying or querying the record the DevTools' WhatRuns button comes in handy.

As the name suggests it shows you what runs on a record (including business rules on parent tables).

DevTools contains a truckload of re-usable functions and features for developers.

Fork at will:

https://github.com/saschawildgrube/servicenow-devtools