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.
SCOM - Events generated from SCOM showing "Time Of Event" field with Future Date. - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • SCOM - Events generated from SCOM showing "Time Of Event" field with Future Date.
KB0819671

SCOM - Events generated from SCOM showing "Time Of Event" field with Future Date.


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

Issue

  • The instance is using the OOTB SCOM connector Instance and Connector Definition to pull events from Source. The connector is pulling the data successfully but the final generated event has Time Of Event field showing a future date. Please refer to the below screenshot.

Cause

  • The root cause of the issue is the DateFormat field set on the connector Instance Record. The code refers "M/d/yyyy/ h:mm:ss a" as default format but this needs to be changed based on the format of the incoming event. 
  • For SCOM, the system looks for the Last-Modified Field's value as an input to "Time of Event Field".



Resolution

  • In order to resolve this issue, we need to change the Data format. Out of the Box, we have "M/d/yyyy/ h:mm:ss a"
  • We have changed the date format in the connector to d/M/yyyy/ h:mm:ss a. to reflect the formatting similar to the LastModifiedDate field.
  • After doing this, we see that events are getting created with a valid date.

 

Note: while setting the date format, make sure you add (single) d and not dd. same applies with M. if you have dd or mm then result may vary and you may see invalid date.


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.