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

How to display a pop-up confirmation

Harsha38
Tera Guru

I want to Display a pop-up confirmation with YES or NO  when the HR Service is ‘Hire’ and state changes to close complete without using a UI Action in Workspace. Please help me here.

@Ankur Bawiskar 
@Ravi Gaurav 
@Jaspal Singh4 
@Ravi Chandra_K 
@Dr Atul - LNG 
@Mohith Devatte 
@hvrdhn88 
@Mohith Devatte 

7 REPLIES 7

Ankur Bawiskar
Tera Patron

@Harsha38 

why not use onChange client script and show Confirm both with yes and cancel?

💡 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

could you please provide the script. Thank you

@Harsha38 

What did you start and where are you stuck?

unless you start you won't learn

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

Dr Atul - LNG
Tera Patron

Hi @Harsha38 

 

Agree with Ankur, try with onchange CS which is kind of low code and easy to do.

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************