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.
Item Designer not capturing status change to Published - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Item Designer not capturing status change to Published
KB0596975

Item Designer not capturing status change to Published


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

Description

The Item Designer is not capturing the status change to Published.

Steps to Reproduce 

  1. Navigate to Item Designer > Create New.

  2. Assign the following values:

    • Name: TestItemDesigner
    • Catalogs: Service Catalog
    • Categories: Services
    • Description: Test Item Designer
  3. Click Next.

  4. Under Related Links, click Add a Task.

  5. Assign the following values:

    • Assignment: Predefined
    • Assign to: Local database team for the requestor
    • Short description: Test Item Designer Task
  6. Click Submit.

  7. Right-click in the header and choose Personalize > Form Layout from the context menu.

  8. Use the slushbucket to add Activities (filtered) to the Selected list.

  9. Click Save.

    The item information shows a State of Draft.

  10. Click the Publish button.

    Note that the State field shows Published. The Activity field, however, still shows State: Draft. Also, if you right-click and choose History > List from the context menu, the audit history does not show a change in State from Draft to Published.

  11. Click the Unpublish button.

    Note that the State is now Draft and the Activity field shows Draft was Published. The History > List audit record shows the State change from Published to Draft.

 

 

Workaround

  1. Comment the following two lines in the publish function of the script include sc_ic_Item:
    this._enableQuietUpdate(); <line num : 248>
    this._disableQuietUpdate(); <line num : 252>

  2. Add the following lines in the business rule "set draft if changed" defined in the sc_ic_item_staging table.

    Change the following lines:

    sc_ic_Factory.wrap(current).setDraft();
    sc_ic_Factory.wrap(current).displayDraftMessage(previous.state);

    to:

    if (!(prev.state == sc_ic.DRAFT && current.state == sc_ic.PUBLISH)) {
    sc_ic_Factory.wrap(current).setDraft();
    sc_ic_Factory.wrap(current).displayDraftMessage(previous.state);
    }

     

    Note: The line numbers might not be exactly the same.


Related Problem: PRB677219

Potentially Seen In

There is no data to report.

Fixed In

Istanbul

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.