- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 08:11 AM
hi i am working in itsm stimulator, pls give solution for below task .
Add a new risk condition: "Insufficient lead time - Normal Change" so that if lead time of 7 days is not met for Normal change requests, Risk should be set as High (NOT VERY HIGH), Impact should be left alone for changes where Type is Normal Change
Solved! Go to Solution.
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2020 03:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 08:28 AM
Please create as below.
Script
answer = false;
var leadTime = 0;
if (current.type == 'normal' && current.start_date && current.end_date) {
leadTime = gs.dateDiff(current.start_date.getDisplayValue(), current.end_date.getDisplayValue(), true);
if (leadTime < 7 * 86400)
answer = true;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 08:57 AM
i am not getting it rightly. its not validating .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2020 10:14 AM
What is the issue you are facing. Can you check by commenting line 3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 07:17 AM
Hello, Govindarajan,
Please update last condition, needs to change:
- Model is Normal, instead they have mentioned as Type.
Thanks,
Nithin Ravichandran.