In Employee portal once i click on Reopen button a popup with additional comments should appear

Debasis Pati
Tera Guru

Hello All,
In Esc portal we have action called "Reopen" this shows to the resolved incidents and when clicked on it it directly makes the incident to in progress state.

What i want to achieve is when clicked on it i want to show a popup with additional comments field as mandatory and once filled values there should be a submit button once submitted it should copy that comment values to the incident's additional comments also it should make the incident InProgress the way its working now.

action link-https://yourinstance.service-now.com/std_ticket_config_action.do?sys_id=e17865a5ff0222105146ffffffffffdd&sysparm_record_target=std_ticket_config_action&sysparm_record_row=2&sysparm_record_rows=3&sysparm_record_list=ticket_configuration%3D33ad80e787f10010e0ef0cf888cb0b87%5EORDERBYorder

@Ankur Bawiskar any suggestions?

1 ACCEPTED SOLUTION

@Debasis Pati 

I was able to achieve this, see below details

-> In Standard Ticket Config Action, select "User Input" checkbox and Save the record

AnkurBawiskar_0-1766138273178.png

 

-> in related list create a new user input of type string, like this and make mandatory using checkbox

AnkurBawiskar_1-1766138288352.png

 

AnkurBawiskar_2-1766138309760.png

-> update the action script to grab the input you created and set in comments field

add this at line 7

        current.comments = inputs.u_comments;
AnkurBawiskar_3-1766138727631.png

 

Output:

make comments mandatory incident reopening using standard ticket config action.gif

💡 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

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron

@Debasis Pati 

you will have to clone that widget which renders that and then make changes to it and add that new widget in your standard ticket config

these links have solution to it

How to make additional comments mandatory on Employee Center when reopen button is clicked? 

ReOpen Incident Option on Service portal for end users. 

make comments mandatory when reopen incident from portal 

💡 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

Hello Ankur,
as per the links you have provided is a solution for portal.
and the one i am saying is on Employee center portal and the the reopen is a Standard ticket actions and this is called from the "Standard Ticket configured actions" widget.
Now from action"Reopen " i need to make the changes in order to achieve this

Can you guide or provide me details for this please.
I have never worked on portal widgets very fresh to this .

Regards,
Debasis

@Debasis Pati 

one of that link talks about using this below widget "Incident Standard Ticket Actions"

You can check that

AnkurBawiskar_0-1766136678142.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

Hello @Ankur Bawiskar ,
You are correct but my instance doesn't have that because we are not using actions.

DebasisPati_0-1766137590467.png


rather we are using the below actions configured individually.

DebasisPati_1-1766137643799.png