Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Message in SOW

ServiceNow10sun
Giga Guru

What is the way to show message in service  operation workspace . if i use onload client script then the message comes and goes off in 4 seconds i need the message to stay for sometime until the user clicks on cross. i do not want to use addwarning message.

6 REPLIES 6

even this is not suported in SOW.

Hello @ServiceNow10sun ,

I tested this in the Australia release. It is working as expected in both the Native UI and SOW.

Could you please confirm if the same behavior is observed on your end?



function onLoad() {
   //Type appropriate comment here, and begin script below
   var state = g_form.getValue("state");

   if (state === "-5" || g_form.isNewRecord()) {
       
		g_form.addFormMessage('hello','info');
		

       

    }
}

my script which i  tested,  my PDI version is Zurich patch 5