How to edit OOB cancel UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 02:07 AM
When we click on the OOB cancel button on problem form the below popup will come and set the state as closed.
But as per my requirement I need to set the state as cancelled.
For this OOB UI action "ProblemTaskStateSNCV" which is not editable. How can we achieve this without using the OOB UI action.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 03:06 AM
Hello @Community Alums , this seems to be the right behavior as Problem doesn't have any state as Canceled configured OOB. However, once the Problem is canceled, status reason is marked as Canceled along with Closed state to understand whether Problem was Closed or Canceled.
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 03:16 AM
I need to add new choice as cancelled in problem state and state should show as cancelled when user click the cancel ui action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 04:33 AM
Hello @Community Alums
"It is generally not recommended to modify out-of-the-box (OOB) functionality directly, as it can impact future upgrades and system stability. However, a workaround can be implemented to meet your requirement:
- Create a duplicate of the OOB Cancel UI action.
- Customize the duplicated UI action to set the state to Cancelled instead of Closed.
- Deactivate the original OOB Cancel UI action to avoid conflicts.
This approach ensures that the system remains upgrade-safe while achieving your desired functionality."
Hope this helps!
"If you found my answer helpful, please like and mark it as the "accepted solution". It helps others find the solution more easily and supports the community!"
Thank You
Juhi Poddar