- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 09:51 AM
¿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!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 11:46 AM
Hi @efrainchavez ,
The standard message "Incident INCxxxx has been resolved" can come from two main sources:
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".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!
Chandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 11:44 AM - edited 07-04-2025 11:44 AM
Hi @efrainchavez ,
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".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.
Chandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 11:46 AM
Hi @efrainchavez ,
The standard message "Incident INCxxxx has been resolved" can come from two main sources:
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".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!
Chandan