Whenever cancel UI action is clicked on i need keep state as cancelled not closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2024 10:49 PM
Hi all,
As per OOB Cancel UI action in problem form it will set state as "Closed " But I need to set that to "Cancel" whenever Cancel UI action is clicked on.
There is one OOB script it's not editable.
How can we edit and will achieve this.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 01:53 AM
why do you wish to change the OOB behavior?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 01:54 AM
did you check that UI action opens up which UI page?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 02:55 AM
Hello @Saranya K , since Problem doesn't have any Canceled state configured, it directly moves to Closed state with Resolution code as 'Canceled'.
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 03:16 AM
Hi @Nishant8 ,
I need to add new choice as cancelled and I need to customise this ui action and script include to set state field as 'cancelled.
How can Iwe achieve this
Thanks