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

Forum Posts

Attachment event

Hey all,I've been wondering if anyone has been able to hook an Event that fires on Attachments?What I would like to be able to do is send a specific Notification when an attachment has been uploaded by a user, and of course the way to do this is by h...

sloz79 by Kilo Explorer
  • 1043 Views
  • 2 replies
  • 0 helpfuls

Project Management Workflow

I am trying to put together some workflows for the Project Management Module and I want to create Project Tasks in the workflow. When I do, they do not attach to my parent project. Anyone have any suggestions? I wonder if I need to create a workflow ...

michelek by Kilo Explorer
  • 1747 Views
  • 2 replies
  • 0 helpfuls

Data Imports CSV file help

I was just wondering if anyone has tried importing into service-now with anything that is not a comma delimited file. Since we have commas in our actual data our guys have programmed a pipe ( | ) delimited file. I have not tried this since I have alw...

by  
  • 2880 Views
  • 6 replies
  • 0 helpfuls

getting started with g_form functions

The following client-side script works fine on the incident table (monitoring a Short Description change):function onChange(control, oldValue, newValue, isLoading) {if (oldValue == newValue) {return;}var desc = g_form.getValue('Short_description');re...

by  
  • 1765 Views
  • 7 replies
  • 0 helpfuls

Business Rule Delete detection

I have a business rule set up to populate another table after the initial table has had and update/delete/insert done to it. What my issue is that I am not sure how to tell what record has been deleted from the inital table so that I can delete it fr...

by  
  • 1237 Views
  • 5 replies
  • 0 helpfuls

addQuery operators

What are the addQuery operators...are 'in' and 'not in'supported? What about "Exists or Not Exists'?Is there a way to build multiple table queries in Service-nowI want to get a list of problems that do not have any open incidents associated to it.Sel...

ui_choicelist macro

Hello,Has anyone ever used the ui_choicelist macro. I would like to build a choice list using this macro based on two other user inputs but I am not sure how to populate it. I wasn't sure if anyone else was using this or not or knows how to use this ...

by  
  • 1912 Views
  • 4 replies
  • 1 helpfuls

Can a UI Action trigger call a business rule?

We have the need to copy an existing change request to create a new one. The copy is to include fields on the change request along with any associated task, configuration items, Affected CI's and attachments. Primary use will be to create reoccurring...

by  
  • 3813 Views
  • 6 replies
  • 1 helpfuls

Auto Creation of Users

HiI have a table in the DB called EMPLOYEE. From this, I want to automatically create new users in the SYS_USER table.So, how can I maintain SYS_USER (insert update delete) based on changes in EMPLOYEE? I suppose it will have to be some kind of sched...

by  
  • 1622 Views
  • 11 replies
  • 0 helpfuls

Strip off email disclaimer on Inbound Email Action

I'll preface this by saying I'm still very much a beginner javascript developer, but does anyone have a script in their Inbound Email Action to remove a standard email disclaimer?I figured it is a quite common request, particularly when the business ...

by  
  • 1900 Views
  • 4 replies
  • 1 helpfuls

How to return a list of group sys_ids

Hello,I want to write a function which returns a list of groups I can use in a filter, for example:Assignment group is javascript:myGroupList()So, it is like the getMyGroups() function in that it needs to return a list of groups.However, while I can ...

margie_joyce by Kilo Contributor
  • 3121 Views
  • 4 replies
  • 0 helpfuls

import choice list from a file

I have a spreadsheet with 100+ items that need to be set as a choice list on my incident form. How can I import the file into the choice list so I wont have to type all 100+ items in by hand?Thank you

Community Alums by Community Alums  
  • 8701 Views
  • 14 replies
  • 0 helpfuls

Getting a record by sys_id using .get

I was looking for an easy way to get to a record using the sys_id. In the past i would use the following and query the recordvar util = new GlideRecord('u_send_web_service');util.addQuery('sys_id', "d8881aff4a36232d012101e1684bff0a");util.query();whi...

brozi by ServiceNow Employee
  • 43564 Views
  • 2 replies
  • 19 helpfuls