Debug when a new record gets created

Sanket Shinde
Tera Contributor

Hello All,

 

Is there a way to apply debug on a record which newly gets created from a record producer?

 

A little bit of context if that helps:

I want to find out which business rule or flow is responsible in updated a field on the table in which a record gets created from a record producer.

 

I know there could be a few ways like checking the trigger for BR and flows. Or specifically for flows, check the execution logs to find out which flows are getting executed etc. I know it helps, but its really difficult to track down if there are 100s of flows and BRs and a lot of them executing when a record gets created.

 

Does session debug help in this case, where records are newly created from Record Producer?

 

Any help would be really appreciated!

 

Thanks in advance.

2 REPLIES 2

James Chun
Kilo Patron

Hi @Sanket Shinde,

 

I often use the Script Tracer capability, which might help you here as well.

https://docs.servicenow.com/bundle/washingtondc-application-development/page/script/debugging/concep...

 

Cheers

Thanks @James Chun , its helpful to some extent, but doesn't fully solve my problem