logo

NJP

ServiceNow UI action confirmation | ServiceNow Usecase Confirmation pop- up on destructive UI action

Import · May 05, 2023 · article

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

View original source

https://www.servicenow.com/community/developer-articles/servicenow-ui-action-confirmation-servicenow-usecase/ta-p/2373689