We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Create dailogue box to submit state and add comments

armanoj
Mega Sage

Hi ,

 

I need a custom dialogue box when click on button in nav bar and popup  with comment box with cancel and Submit button in workspace . When submit the dialogue boc state needs to change and comments needs to update in additional comments.

 

simillar screenshot

Arun_Manoj_0-1770267624672.png

 

5 REPLIES 5

Tanushree Maiti
Giga Sage

You can use GlideDialogBox in onSubmit client script (view SOW).

For more info check this blog similar to your requirement. Instruction is given with screenshot.

Make a popup, do some choices and let it fill out ... - ServiceNow Community

 

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

Ankur Bawiskar
Tera Patron

@armanoj 

it's an easy requirement.

what did you start with and where are you stuck?

there are lot of OOTB UI actions which render modal using g_modal and has similar code

How to use UI Actions in Workspaces 

AnkurBawiskar_0-1770270855614.png

 

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@armanoj 

Hope you are doing good.

Did my reply answer your question?

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@armanoj 

Thank you for marking my response as helpful.

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader