The CreatorCon Call for Content is officially open! Get started here.

How to edit OOB cancel UI action

Community Alums
Not applicable

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.

 

sangeethas9_0-1732269743805.png

For this OOB UI action "ProblemTaskStateSNCV" which is not editable. How can we achieve this without using the OOB UI action.

sangeethas9_1-1732269879616.png

Thanks

3 REPLIES 3

Nishant8
Giga Sage
Giga Sage

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

Community Alums
Not applicable

I need to add new choice as cancelled in problem state and state should show as cancelled when user click the cancel ui action

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:

  1. Create a duplicate of the OOB Cancel UI action.
  2. Customize the duplicated UI action to set the state to Cancelled instead of Closed.
  3. 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