SecurityIncidentUtils()).createFromIncident(current) not creating a security incident

Ulrich Matthew
Tera Contributor

Hi evenryone ,

 

im using this code

 

var securityIncident = (new SecurityIncidentUtils()).createFromIncident(current);

gs.addInfoMessage(gs.getMessage("Security Incident {0} was created", securityIncident));
action.setRedirectURL(current);

 

i get a message telling me it was created , but if i click on the link or go to the security incidents , it was not created at all , what am i doing wrong?

Screenshot 2023-11-07 at 17.32.01.png

this is the  additional information

0 REPLIES 0