Amit Gujarathi
Giga Sage
Giga Sage

Hi All,

I hope you're doing great.

 

  • Today we will be looking into a use case for UI actions. We have faced this situation a lot of times in our day-to-day implementation when we have created a destructive ServiceNow UI action on the form.
  • Now, what is ServiceNow's destructive UI action, any UI action which leads to deletion or deactivation of the record is called destructive UI action.
  • Whenever we make use of his UI action the person who is using this UI action should think twice before they click, the reason being if the record is deleted or deactivated it's tough to revert it.
  • To avoid the condition of mistakenly clicking on the UI action which can lead to the deletion of a record, we need o have some confirmation or we can call it a double-check before performing any destructive operation.

In this tutorial, we will be looking into how we can provide client-side confirmation before executing any destructive action on ServiceNow.

 

Agenda:

  • What is UI action
  • What is destructive UI action
  • Usecase explanation
  • Implementation of UI action
  • Demo for confirmation on ServiceNow destructive UI action

 

Please be sure to bookmark this article as well as mark it as Helpful if you thought it was helpful.

 

Regards,

Amit Gujarathi

Technomonk Youtube 

Amit Gujarathi Linkedin 

TheTechnomonk.com 

ServiceNow Community Amit Gujarathi 

Comments
Brian Lancaster
Kilo Patron

Is confirm still valid to use? When I try to use it in a UI Action it will not save. As soon as I click save or updated on the UI Action I get a message in chrome " https://instance_name.service-now.com/sys_ui_action.do" might be temporarily down or it may have moved permanently to a new web address.

Version history
Last update:
‎05-04-2023 10:49 PM
Updated by:
Contributors