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.
In the Best Practice - Incident Resolution Workflow plugin, non-admin users are able to reopen closed incidents through email - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • In the Best Practice - Incident Resolution Workflow plugin, non-admin users are able to reopen closed incidents through email
KB0537226

In the Best Practice - Incident Resolution Workflow plugin, non-admin users are able to reopen closed incidents through email


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

Description

The update inbound email action is named "Update Incident (BP)" and is located here:

sysevent_in_email_action.do?sys_id=498e10410a0a0b4b007c8c7f63531747.

The update inbound email action has the following script:

if (email.subject.toLowerCase().indexOf("please reopen") >= 0) {
current.incident_state = "2";
current.work_notes = "The caller did not feel that this issue was resolved";
}

The action allows a user to reopen an incident marked as Resolved. However, the user can change the subject line of an email to reopen any incident in any state.

Steps to Reproduce

  1. Log into an instance with the Best Practice - Incident Resolution Workflow plugin activated.
  2. Assign an incident to an itil user.
  3. Set that itil user's email to your personal email so you receive the notifications.
  4. Go into the user's profile and turn on incident notifications.
  5. As an admin or maint, close the incident.
  6. When your itil user receives the "Your incident INC000XX has been closed' email, click reply and in the subject, insert the following:
    • the incident number
    • the text "please reopen"
  7. Click Send.
  8. Refresh the incident.
    After the email message is processed, the incident resets to the Active state.

Workaround

  1. Go to: https://[YOUR INSTANCE]
  2. Find the following code block:
    if (email.subject.toLowerCase().indexOf("please reopen") >= 0) {
    current.incident_state = "2";
    current.work_notes = "The caller did not feel that this issue was resolved";
    }
  3. Replace with:
    if (email.subject.toLowerCase().indexOf("please reopen") >= 0 && current.incident_state == "6") {
    current.incident_state = "2";
    current.comments = "The caller did not feel that this issue was resolved.";
    }

Related Problem: PRB599176

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.