Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Resolved! Email Script setSubject

I'm trying to set the email notification subject to a requested item number. I can't use just ${number} in the subject field since it pulls the REQ number. What would I need to put after the RITM: to successfully pull the RITM number into the subject...

find_real_file.png
akunk23 by Kilo Contributor
  • 5729 Views
  • 3 replies
  • 2 helpfuls

Resolved! How to remove choices in a field?

Hi All,I want to remove the choice   in the state field for an ITIL user.My Requirement.If state is new : All choices should display.If In progress: Display only In progress, Cancelled, On hold.If On Hold: Resolved,In progress, cancelled.Can any one ...

Community Alums by Community Alums  
  • 8512 Views
  • 4 replies
  • 5 helpfuls

Date Picker Return Wrong Date

Hi All,Currently I'm going thru ServiceNow online training and now I'm at "New to ServiceNow" > "Server-side Scripting".I realized one thing when I'm working on Business Rule and Script Include which is the date picker always give me the wrong date a...

Capture1.PNG Capture2.PNG
aungmon by Tera Contributor
  • 4423 Views
  • 5 replies
  • 2 helpfuls

Cancelling a Service Catalog Request After Period of Time

We currently have a Service Catalog process where people can request some services.   We have been asked that any request that is sitting in the "Pending Approval" Stage for more than 60 days should be automatically cancelled, and an email should be ...

jmiskey by Kilo Sage
  • 2322 Views
  • 6 replies
  • 0 helpfuls

Resolved! Help with JSON().encode

I am trying to get the department and group return from the below script include. My logs entries are as follows. You can see the JSON values are empty even though I'm logging the dept and the group.Any idea why the encoding is not working on my obje...

kimberlylp by Tera Guru
  • 12457 Views
  • 7 replies
  • 7 helpfuls

Resolved! Skipped Updates?

Hi All,We recently implemented ServiceNow and are now looking to upgrade to Helsinki Patch 11b, I have done this in our dev environment but unfortunately we have close to ~500 skipped updates. I have resolved most of the high priority ones but 360 of...

na93 by Mega Expert
  • 2394 Views
  • 4 replies
  • 2 helpfuls

How to add data into right side of slush bucket instead of Left

Hi Team,I am looking for an data to be add to the right side of slush bucket instead of Left.I am using below line to add, but not workingslush.addRightChoice(item.getAttribute('value'), item.getAttribute('text'));Kindly help to add data   into right...

KB18 by Tera Guru
  • 2816 Views
  • 3 replies
  • 0 helpfuls

Passing parameters to script include.

Hi,I am calling the script include, but GlideAjax cannot be called from REST.This script include is used mostly from from client side but i need to call from Server but don't want to have to edit the script include.var ga = new GlideAjax("AllCatInteg...

Resolved! Data lookup rules are not working

Hello Everyone,I created a Data Lookup rule name as Category AG lookup and mention Source table as Incident & Matcher table as Assignment Data look   up as shown below:Later under Assignment Data Look up: dl_u_assignment.LIST i create few rules as sh...

find_real_file.png find_real_file.png find_real_file.png

How do I create a new bootstrap color option ?

I am sure this is simple (or not) but I want to create a new bootstrap color option for service portalSo if I go to branding there are 6 options OOBHow can I add another option ?I see it as a choice but I dont see were the actual color is being calle...

tricial by Giga Contributor
  • 4575 Views
  • 5 replies
  • 1 helpfuls

Resolved! How do I include a script include into a ui page?

I'm making a ui page and attempting to include jquery, as well as responsive slides (a plugin for jquery). To do so I created two 'script includes' that contained the contents of jquery as well as the responsive slides plugin. I just want to include ...

mahudg2 by Kilo Expert
  • 15488 Views
  • 13 replies
  • 1 helpfuls

Best Practices for Testing Workflow Activity

I am using Run Script activities in my workflow to handle some complex logic (mainly data twisting and Rest calls, which are easier to debug in script than using Rest Message activity).My development workflow is a bit painful, since I have to make ch...

mmujica by Kilo Contributor
  • 3773 Views
  • 3 replies
  • 1 helpfuls