Enable 'Cancel' state for Problem record in new state

Madhan007
Tera Contributor

OOB,State field is Read-only in a problem Record and a problem can be moved to closed from Assess, RCA and FIP.I got a requirement to modify this behaviour and enable cancel(closed state) in problem's new state too. How can I achieve this?

1 REPLY 1

Sara Saravanan
Tera Contributor

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