- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2015 01:58 PM
Before I discovered the ServiceNow REST interface and documentation on the wiki, I created some incidents in ServiceNow through a script that mimicked the actual HTTP calls that my web browser makes when I create an incident directly in ServiceNow.
However, now I am not able to modify or close the incidents that I created through my script. Additionally, the incident_state for these "bad" incidents is "Open" whereas normal incidents are "Work In Progress". I have attempted to identify any discrepancies between the normal/good vs. "bad" incidents, but I am stuck. When I try to modify one of the fields that are different (e.g. time_worked), my changes are not saved when I modify the "bad" incident in my browser. The "bad" incidents also do not have buttons to resolve or close incidents, but normal incidents do.
Does anyone have a suggestion for how I can fix these incidents?
Solved! Go to Solution.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2015 04:21 AM
Have you tried Fix/Background scrips to delete those "bad" Incidents?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2015 04:21 AM
Have you tried Fix/Background scrips to delete those "bad" Incidents?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2015 06:16 AM
I did not know about Fix Scripts, so that's a good thing to keep in mind. But I really want to repair these bad incidents, rather than delete them because people are working on these incidents.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2015 01:27 PM
I was able to write a fix script to change the status of the bad incidents. Thank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2015 08:35 AM
I would look at the 'active' field to see if it's set to false.