How to set incident state is "WIP" automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 05:44 AM
Hello expets
We have requirment.
We have a field is Due date. If below conditions are met field will be visible. or else Hide.
Requirement is
Incident should switch back to WIP as soon as the set date/time is reached.
Please support to achieve this
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 06:35 AM
once date/time is reached -> for this you can use onLoad client script + GlideAjax and check if the current date/time is same or more than the date field value. if yes then do your action
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 08:40 PM
Thank you for your Quick reply
Can you please share the script it will be useful to me.
i am new to script.
Table-"incident"
field name - "u_postpone_schedule"
In Progress value - "2"
On Hold value - "3"
state - "state "
Requirment is
Ex . ( if below Condition met state needs to be change automatically to INPROGRESS )
Please support!
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 08:47 PM
you can check the date/time is today using GlideAjax
Please start from your side and it will be learning for you as well.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 09:14 PM
Thank you for your reply , i will try it.