On submit client script

JayaSreeSI
Tera Contributor

Hi We have requirement that is on startwork ui action but they doesn't want to touch that oob ui action so they want me work on onsubmit client script that is Whenever the case changes from ready to in progress state by clicking on start work the Sla will stop but here they need a dialog box to populate to enter mandatory work notes when the user is clicking on start work before the state changes to work in progress that dialog box should pop up and user should enter worknotes and it should map to worknotes field for this i have created a ui page but the glidedialogwindow not appearing on hr case 

8 REPLIES 8

@JayaSreeSI 

did you not start with the onChange client script?

where are you stuck?

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Tanushree Maiti
Kilo Patron

HI @JayaSreeSI 

 

Follow this link and step by step , perform it as per your requirement.

 

https://davidmac.pro/posts/2022-02-08-glidemodal/

 

Also you can refer:

https://www.servicenow.com/community/itsm-articles/how-to-open-a-ui-page-in-a-popup-window-glidemoda...

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

yashkamde
Mega Sage

Hello @JayaSreeSI ,

 

check the scope bcz if the scope are different of UI Page and client Script (where you are using glidedialogwindow) ui page will not populate..
If different scope configure new glidedialogwindow and then check !

If my response helped mark as helpful and accept the solution.

No it is in the same scope