We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Singe Task Catalog Request Confirmation of close complete

abdulrehman
Kilo Guru

Good Afternoon from Pakistan!
Hope everyone is fine.
As an ITIL user I would like to have a confirmation of close complete on single SC_Task catalog requests. Warning ITIL user that closing will close complete the RITM. 

When closing a SC_Task catalog requests, the confirmation pop-up has RITM closing warning. Please see the attached screenshot below.

Can anyone please provide me some guidance,I'll be thankfull

1 ACCEPTED SOLUTION

BradW8176685430
Giga Sage

Hi @abdulrehman 

 

If you are closing the records via a UI Action, you can modify it to pop up a modal to confirm the action using glideModal().

 

Alternatively, if you are closing records by updating the state value, use glideModal() in an on change  client script.

 

There are a number of OOB modals available. Check out glide_confirm for a simple confirmation modal.

View solution in original post

6 REPLIES 6

SD_Chandan
Kilo Sage

 Hi @abdulrehman ,

You can try business rule on this 
When all tasks are closed, auto-close The RITM

Thank you
Chandan

BradW8176685430
Giga Sage

Hi @abdulrehman 

 

If you are closing the records via a UI Action, you can modify it to pop up a modal to confirm the action using glideModal().

 

Alternatively, if you are closing records by updating the state value, use glideModal() in an on change  client script.

 

There are a number of OOB modals available. Check out glide_confirm for a simple confirmation modal.

Have a look at the change_confirm_reason UI Page. You can clone and modify that to do what you need. It already has the input text area and the buttons configured. You just need to call it from your UI Action or Client Script and make sure the text input field is mapped to your work notes/comments.

Ankur Bawiskar
Tera Patron

@abdulrehman 

since you simply want a box to enter the text, why not use prompt javascript box and the user can enter that value and you can then update it in work notes

If my response helped please mark it correct and close the thread so that it benefits future readers.

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