While resolving the case if we use prmContext.getEventArgs().preventDefault(); to stop the case getting resolved , it keeps processing and nothing happens.
Has somebody also faced this issue.
While resolving the case if we use prmContext.getEventArgs().preventDefault(); to stop the case getting resolved , it keeps processing and nothing happens.
Has somebody also faced this issue.
I never had to do this customization in particular, but I'd put the logic in a plugin firing on Create
of IncidentResolution
entity (post-operation so you can have the Images available).
Throw there and the resolution flow should be rolled back.