How to wake up my developer instance through rest api call?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2018 07:44 AM
I am creating a servicenow ticket (Incident) through rest api call using Java.
If the developer instance is active, ticket is generating fine and i am getting 201 status. But when the instance went to sleep mode i am getting 200 status and the ticket is not generating.
Is there a way to awake the developer instance through rest api call?
Thanks in Advance!!
- Labels:
-
Personal Developer Instance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2018 12:49 PM
Why can't you just wake the instance every time and try if it's not awake?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2020 02:23 AM
Is there a way to awake the developer instance through rest api call?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2020 11:45 AM
Generally speaking, no, you can't wake your instance with a Rest API call. Once it has gone to sleep, the only way to wake it is via your developer login.
You can prevent an instance from going to sleep after you wake it by making sure that you have an active admin session and that you occasionally make changes that count as development activity (usually creating a few script includes or business rules will give you ~6 - 8 hours of inactivity before it sleeps again. Sometimes longer, sometimes shorter).
If you manage to keep a session active and keep updating / creating records, your instance should stay awake as long as you do.
The purpose of a PDI is to provide a place to actively learn and practice using the platform and are provided as a free benefit to the community. The inactivity monitors help ensure that the costs remain manageable by reclaiming resources that are not being utilized.
If you found this helpful or correct, please remember to be kind and click appropriately!
Michael D. Jones
Proud member of the GlideFast Consulting Team!