- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hey everyone, i am having a problem in these task in the ITSM simulator:
I have copied the code i found in a similar question
Yet it is giving me this error and is validating. I have used the same code in the 'Create normal change' UI Action record. Also does this simulator validate on 80%?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@nicoleowens and also quotes here:
gs.hasRole("itil") && new ChangeRequestStateHandler(current).isNext("pending_change")
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @nicoleowens,
it seems like a missing ")" on the line 5:
ga.getXMLAnswer (function(stateValue))
EDIT: not this, the closing quote is on the line 9...
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@nicoleowens and also quotes here:
gs.hasRole("itil") && new ChangeRequestStateHandler(current).isNext("pending_change")
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Make sure the syntax is correct and you closed the brackets, parenthesis correctly as it is a common mistake. Use any online tool or Notepad++ to check for any missing grouping symbols.
Refer below link to complete the task,
https://www.servicenow.com/community/itsm-forum/creating-a-change-request-from-problem/m-p/2936625
If this helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan