Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Client Scipt inline editing issue

tindiz
Giga Guru

So I created this Client Script - my goal here is when I change the "active" field on the customer_contact table via the inline editing there should be a message that will pop-up asking if I am sure with the action to be done.

 

tindiz_0-1727598961284.png

 

Now, that script is not executing as expected so I put some console logs for debugging..

As you can see on the SS below, this is under customer_contact table and the field I am trying to edit is the "active" field.

I tried to change it from true to false and it wont let me do it.

I checked the console log and it says that the field is customer_contact, old value is false and new value is true which should be the other way around.. I am not sure what I am doing wrong here. Please help.

tindiz_1-1727599310263.png

 

1 REPLY 1

Juhi Poddar
Kilo Patron
Kilo Patron

Hello @tindiz ,

 

I hope confirmation-message-is-not-working-appearing  answers your query. 

 

Thanks & Regards 

Juhi Poddar