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

Ankur Bawiskar
Tera Patron

@JayaSreeSI 

is this for native or workspace?

why not use onChange client script?

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

For both native and workspace

@JayaSreeSI 

why not use onChange script then?

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

can you send me the script for that ui action "Start work" by using on change client script