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.
"Show email details" button doesn't behave as expected when multiple activity streams exist on a form - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • "Show email details" button doesn't behave as expected when multiple activity streams exist on a form
KB0621434

"Show email details" button doesn't behave as expected when multiple activity streams exist on a form


1921 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Description

Clicking the "Show email details" button causes unexpected behavior if multiple activity streams exist on the same form. Instead of the iframe being pointed at a page containing the content of the email, the iframe is pointed at a URL that doesn't exist on the instance. For example:

https://helsinkipatch6.service-now.com/%7B%7B::emailBodySrc%7D%7D

Behavior across instances in dealing with a URL like this varies. Some instances will show a "Page not found" error. Other instances will accept the URL and load /navpage.do in the iframe, which then redirects the page you're on back to the user's homepage.

Steps to Reproduce

 

  1. Log on to the instance as a maint user.

  2. Navigate to Incident > Open.

  3. Open INC0000055 - "SAP Sales app is not accessible".

  4. Right-click in the form header, and choose Configure > Form Layout.

  5. Add the Activities (filtered) element into the first section of the form (Incident) and click Save.

  6. Click the three-dot "More options" icon in the form header and click Email.

  7. Add some text in the Compose Email window and click the Send button.

  8. Navigate to System Logs > Emails.

  9. In list view, find the email you just sent in the list, and change its type is "sent" rather than "send-ready".

  10. Navigate to Incident > Open.

  11. Open the incident (for example, INC0000055 - "SAP Sales app is not accessible").

  12. In the activity stream in the email record, click the Show email details link.

    Instead of an iframe appearing that shows the body of the email directly below the "Show email details" link, the iframe tries to load the following URL on the instance:
    /%7B%7B::emailBodySrc%7D%7D

    The following JavaScript error occurs in the browser console:
    TypeError: Cannot read property 'displayValue' of undefined.

    The error occurs because the JavaScript object containing the details of the activity stream contains no values inside the email property.

Workaround

There is no workaround. The system is not designed to support multiple occurrences of activity streams on the same form.


Related Problem: PRB719533

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.