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.
Missing index on sys_flow_context.execution_id causes performance problems as number of flow context grows. - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Missing index on sys_flow_context.execution_id causes performance problems as number of flow context grows.
KB0862452

Missing index on sys_flow_context.execution_id causes performance problems as number of flow context grows.


951 Views Last updated : Jan 26, 2024 public Copy Permalink
KB Summary by Now Assist

Description

If flow designer was used prior to upgrade to Madrid an index may be missing on sys_flow_context.execution_id.  This missing index will cause performance issues with queries as the size of the number of flow executions grows.

Steps to Reproduce

1. Start with a London instance.
2. Define a flow and execute it several times to ensure there are multiple rows in the sys_flow_context table.
3. Upgrade the instance from London to Madrid.
4. Look at the indexes present on sys_flow_context and observe that there is no index on execution_id.

* The unique index could not be created due to the existing rows in sys_flow_context.  The issue will not occur on a instance with 0 or 1 rows in sys_flow_context (zbooted instances for example)

Workaround

Manually create an index on sys_flow_context.execution_id.


Related Problem: PRB1420648

Potentially Seen In

There is no data to report.

Fixed In

New York Patch 12
Orlando Patch 9
Paris Patch 3
Quebec

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.