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

Forum Posts

Check Attachment Script

I am trying to implement the check attachment script for our incident application, but have not been able to get the script to run. Has anyone tried to implement this? I could use some pointers, I am not familiar with scripting only the general conce...

khsieh by Kilo Explorer
  • 4228 Views
  • 5 replies
  • 0 helpfuls

Resolved! Appending text on a String field

When an email is received by Service Now, I want the reply to append an existing string field so the text goes at the top (there may be text in there already). This needs to be a string field so I can reference it from the Email Client pop-up. Any th...

Resolved! Previously Assigned To

I'm looking for a way to display on an incident form the last user an incident was assigned to. I need to do this because we are using a tool to automatically assign incidents to the service desk and if an incident is simply rejected to the service d...

amacqueen by Mega Guru
  • 2885 Views
  • 9 replies
  • 0 helpfuls

Resolved! Condition on Client Script

I am trying to set a condition on a client script so it will run for all users except for those with a specific company value set on their user account... and I cannot figure out what I am doing wrong! Condition:gs.getUser().getRecord().getValue('com...

Using Schedules for User Availability

Hello,Has anyone used Schedules to determine a user's availability after they have been assigned an Incident? Each user would have a Schedule of working hours which would then be used to determine if they are on-shift after being assigned an Incident...

Resolved! How do I hide variables on a form activated by an UI Policy?

Hi everyone,  Wondering if someone could shed some light on a small issue I'm having with UI Policies.  I've created a couple of different UI Policies on a form which effectively display and hide other variables (fields) based on the conditions alrea...

ravi_otpp by Tera Expert
  • 2579 Views
  • 5 replies
  • 0 helpfuls

Setting values in Workflow Catalog task

I am attempting to create a workflow that will allow me to set some values in a workflow catalog task.   The example in the advanced field shows to qualify the field name with task ( task.approval = 'Approved').  My issue is, this doesn't work.   I h...

Set Minimum Character Limit

Hi,I was just wandering if anyone knows how to set a minimum character limit on a string field. I know you can set a maximum length limit using the system dictionary .This is to prevent users from puting just a "." or a space in the field etc.Any hel...

List of all Google Map Icons, useful for SNOW map Pages

Hey guys I've found this list of all Icons used by Google maps, this could be useful when customer wants to display incidents in a map and difference them by some category or Impact. I hope this list could be useful. Google map markers | CTAPbIu_MABP...

gmorales by Kilo Expert
  • 9478 Views
  • 4 replies
  • 1 helpfuls

Resolved! Where is the default outgoing email template?

When we send email from an Incident using the email icon, it automatically populates the Requester name in the To field and CC's the Opened By username.   I want to remove the Opened By username from the CC field.  Also, when we send email from a Tas...

nidishman by Kilo Contributor
  • 3662 Views
  • 2 replies
  • 1 helpfuls

Script subquery: recursive parent names till root level

Hi,  I am in need of help for a script to fetch the parent name of that CI on its sys_id, and in turn parent of that parent name i.e recursive parent names for a CI till the root level.Basically its a tree of the parent names from the CI parent till ...

Resolved! GlideRecord next() call fails - why?

I am attempting to run the following code in a test workflow:  var gr = new GlideRecord('sys_template');var query_name = 'RBA - Network - KMTC VIP';  gr.addQuery('name', query_name);gr.query();  if (gr.hasNext()){       workflow.info('hasNext() says ...

ianj by Kilo Expert
  • 5714 Views
  • 7 replies
  • 9 helpfuls