How can I identify what script is causing a field to change on a record?

Wayne Richmond
Tera Guru

I'm using the 'state' field on a custom table that extends 'task'. I've got a Business Rule that changes the 'active' field to 'false' when the state field is '12' (the value). However, as soon as this happens, the 'state' changes to '3' automatically. This only appears to happen when 'active' changes from 'true' to 'false'. I've searched my Business Rules to see if there's another script that sets the 'state' to '3' when 'active' '=' or changesTo 'false' but I can't find one. Is there a log I can check to see what scripts are running and hopefully identify the culprit?

1 ACCEPTED SOLUTION

Chandu Telu
Tera Guru
Tera Guru

HI Wayne,



I think



Business Rule:task closer


View solution in original post

6 REPLIES 6

saidarao kethin
Tera Contributor

I am facing the same issue. I want to make RITM's active value as false when the RTIM state changes to an invalid ticket.  It's automatically changing to a closed state when I change RITM state value to Invalid ticket.

 

How did you fix this issue? Could you please help me.

Vikram Reddy
Giga Guru

Hi Wayne,

 

In the instance window, go to top right and click GEAR icon

go to developer category, and turn ON, javascript log and field watcher

Now update the record like you wanted and see the logs to see business rules acting at that time, you can always filter (or) clear logs.  For your case set it only business rule on field watcher. Then log results would show only business rules ran after the your update

 

Thank you,

Vikram