¿De dónde proviene el mensaje "Incident INCxxxx has been resolved"?

efrainchavez
Tera Contributor

efrainchavez_1-1751647559666.png

 

 

 ¿De dónde proviene el mensaje "Incident INCxxxx has been resolved"?

Cuerpo del mensaje:

Hola a todos,

Estoy trabajando en una restricción para evitar que los usuarios que no pertenecen al grupo de resolución no puedan resolver un incidente. Ya logré bloquear la acción con una business rule y mostrar un mensaje personalizado notificando al usuario que no tiene permisos.

Sin embargo, aún se muestra el mensaje estándar:
"Incident INCxxxx has been resolved",
el cual se muestra junto a mi mensaje personalizado.

¿Alguien sabe de dónde proviene ese mensaje o en qué parte del sistema se genera?
Me gustaría evitar que se muestre si el usuario no tiene permisos.

¡Gracias de antemano por su ayuda!

1 ACCEPTED SOLUTION

SD_Chandan
Kilo Sage

Hi @efrainchavez ,

The standard message "Incident INCxxxx has been resolved" can come from two main sources:

  1. Business Rule or Workflow Script:
    Sometimes there's a line like:
    gs.addInfoMessage("Incident " + current.number + " has been resolved");
    This line automatically generates the message when the incident state changes to "Resolved".

  2. Platform's Standard Resolution Logic:
    If you're using ServiceNow's default logic to resolve incidents, the system may automatically generate this message when the state changes to "Resolved"—especially if the update is done via GlideRecord or form submission.

If you're blocking the resolution with a Business Rule and showing a custom message, but still seeing the standard one, it's likely coming from one of these sources. You might want to review the scripts tied to the resolution action and conditionally control the use of gs.addInfoMessage().

Hope this helps!


Thank you
Chandan

View solution in original post

2 REPLIES 2

SD_Chandan
Kilo Sage

Hi @efrainchavez ,

  1. Una Regla de Negocio o un Script de Flujo de Trabajo puede incluir una línea como:
    gs.addInfoMessage("Incident " + current.number + " has been resolved");
    Esta línea genera el mensaje automáticamente cuando el estado del incidente cambia a "Resuelto".

  2. Si estás utilizando la lógica estándar de resolución de la plataforma, ServiceNow podría generar automáticamente este mensaje cuando el estado del incidente cambia a "Resuelto", especialmente si la actualización se realiza mediante GlideRecord o al enviar el formulario.


 

Thank you
Chandan

SD_Chandan
Kilo Sage

Hi @efrainchavez ,

The standard message "Incident INCxxxx has been resolved" can come from two main sources:

  1. Business Rule or Workflow Script:
    Sometimes there's a line like:
    gs.addInfoMessage("Incident " + current.number + " has been resolved");
    This line automatically generates the message when the incident state changes to "Resolved".

  2. Platform's Standard Resolution Logic:
    If you're using ServiceNow's default logic to resolve incidents, the system may automatically generate this message when the state changes to "Resolved"—especially if the update is done via GlideRecord or form submission.

If you're blocking the resolution with a Business Rule and showing a custom message, but still seeing the standard one, it's likely coming from one of these sources. You might want to review the scripts tied to the resolution action and conditionally control the use of gs.addInfoMessage().

Hope this helps!


Thank you
Chandan