Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

gs.addInfoMessage is not working on Declarative List Action in workspace view.

Ganeshm1
Tera Guru

Hello All, 

I have created a simple List Action for the Hardware Asset workspace to update asset records on list view. 
Update is working as expected but info message is not appearing upon update. Any idea on this? 

Ganeshm1_0-1788445704285.png

 

 Code: 

current.gl_account = 'test';
current.update();
gs.addInfoMessage('update successful');

Thanks in advance. 

Ganesh

0 REPLIES 0