- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 10:09 AM
Currently, there is an OOB UI action "cancel" in the problem form, but it only displays during "assess" I want to be able to have "cancel" shown during the "new" state as well without losing its functionality.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 10:31 AM - edited 11-28-2022 10:33 AM
Hello,
That is because there is a condition in the script include as below:-
You can use the below in the condition of the UI action:-
current.canWrite() && (new ProblemStateUtils().canMarkDuplicateOrCancel(current) || current.state=='101')
The above will make the button appear, then you need to do the below go to state transition from navigation:-
Open Problem management default flow:-
Open the closed option:-
Include new as well and save:-
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 10:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 10:31 AM - edited 11-28-2022 10:33 AM
Hello,
That is because there is a condition in the script include as below:-
You can use the below in the condition of the UI action:-
current.canWrite() && (new ProblemStateUtils().canMarkDuplicateOrCancel(current) || current.state=='101')
The above will make the button appear, then you need to do the below go to state transition from navigation:-
Open Problem management default flow:-
Open the closed option:-
Include new as well and save:-
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 10:39 AM
"Error MessageData Policy Exception: The following fields are mandatory: Assigned to" when I try to close the problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 10:46 AM
Yeah you need to fill the assigned to before cancelling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2025 06:11 AM
1) Open Cancel UI action (Table : Problem ) and modify the condition as below:
current.canWrite() && (new ProblemStateUtils().canMarkDuplicateOrCancel(current) || current.state=='101'
2) Open State model from navigator > Click on Problem Management: Default Flow > Click on "Closed" State transition at the bottom of the screen > Next page appears , please add "New" state in Enter condition filter
3) Click on Problem Model > General > Bottom of the screen , click on New in the Model states and add New to Closed state transition