Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
How to add new custom field to Transform and Compose section of Event Rule / How to popuate custom Alert field. - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • How to add new custom field to Transform and Compose section of Event Rule / How to popuate custom Alert field.
KB0829780

How to add new custom field to Transform and Compose section of Event Rule / How to popuate custom Alert field.


2491 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Summary

  • By Default OOTB, we have some selective fields that are displayed under the Transpose and Compose section of Event Rule. 
  • The Business Requirement here is to add some new fields to this section as below.

  • Currently, it displays only OOTB fields.

Instructions

Solution 1

  • In order to display any custom field to this view, below steps needs to be followed:

    • Open "sys_db_object" table and locate "em_alert" table record. [Name Is em_alert]
    • Under Columns Tab > Click New
    • Enter the Field details that you would like to add and save the record. For example

Table: Alert [em_alert]
Type: String
Column label: NR Custom
Column name: nr_custom
Max length: 240

    • This will create a new custom field on the Alert table.
  • Now navigate to the Event rule and see if the new field is visible or not.


Solution 2

  • Apart from the above approach, there is another way of populating a custom alert field.

    "Alert fields are automatically populated from fields that have the same name in the event. This behavior holds true for Additional information event fields and for Additional information fields that Event Rule adds. Thus to populate a custom alert field with the value in Additional information fields of alert, use the custom field name in the Additional information field of the event." Please refer to Custom Alert Fields for more details. 

  • Which means, if you are passing the custom field in the event payload and it will automatically get populated in the alert. Below is a sample Additional Information payload.
    {'nr_custom':'custom value','hostname':'','networkNodeId':'1463','swEventId':'36479354','icon':'Start','netObjectId':'1463','NetObjectType':'N','eventType':'5001'}

Related Links

  • The important thing to notice here is, a new custom added field can be displayed under the "Transform and Compose Alert Output" section along with the selected/default OOTB fields. Please note, some of the OOTB fields on em_alert table are not displayed here, this is by design.
  • Apart from the above OOTB fields selected, the behavior of short_description field can be controlled using "evt_mgmt.override_alert_short_description". property.
  • The short description field of an alert is automatically written using the type, node, and description of the alert. To prevent the short description field from being over-written, the evt_mgmt.override_alert_short_description property value can be set to false.

Additional document: 
View alert information



The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.