Not understanding why this one line of code Not Working

Lucky1
Tera Guru

Hello all,

 

Because of some business need, we have in activated Priority look up rules on Incident.

Now I have written a BR, before - Insert and Update on Incident table and here is the script

Lucky1_0-1745392772689.png

 

I see that highlighted line of code is not executing, and I don't see the log message in the logs. Rest of all the log messages are coming up.

Can someone tell me what went wrong over there?

 

 

Regards,

Lucky

 

6 REPLIES 6

Chaitanya ILCR
Kilo Patron

Hi @Lucky1 ,

on which application scope this BR is in?

gs.log is only supported in the global scope

try changing the gs.log to gs.info if the BR is in any other scope or create the BR in global application

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

Lucky1
Tera Guru

Hello Chaitanya, Ankur and Sagar,

 

I don't understand why service-now behaves weird. 

Because I just inactivated the Urgency choices and activated again. Now it's working fine.

 

Thank you all for your responses.

 

 

Regards,

Lucky