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

Forum Posts

Auto populate current user and date to template

I have created a template as part of change management. I would like the template to automatically populate the following values:Name of the current user For the implementation start date add the current date/timeFor the implementation end date add t...

garethe by Kilo Explorer
  • 2825 Views
  • 1 replies
  • 0 helpfuls

Resolved! Reference field from a table gives Undefined value

Hello Everyone,I'm trying to query a table with a reference field with the following conditions:var sysID = current.sys_id.toString();var reqTask = new GlideRecord('u_request_tasks_definition');reqTask.addQuery('u_order', '>', workflow.scratchpad.cur...

Lyubomir1 by Tera Contributor
  • 3343 Views
  • 4 replies
  • 0 helpfuls

Resolved! How to show all tasks assigned in a single list

I have been looking for a way to set up two list views called My Tasks and My Group Tasks which will show ALL tasks from all modules in a single view such that I can see Change Tasks, Data Certification Tasks, etc in a single list view.Has anyone don...

Resolved! Import set table

Hi All,We have a datasource set up which runs and create new ISET num on daily basis in import set table.Is there a way I can query the import set table to get the latest one created by my datasource and then transform the data to a existing SNOW tab...

Resolved! Update Set Partially Committed

Hello,Easy points for someone! Does anyone know what would cause an update set to be "partially committed"?   We had an update set in this state after doing a commit.   I could not find anything about this state in the wiki.   Thanks,Laurie

Resolved! Array .indexOf() method not working

I realize this could be a general JavaScript question, but it seems like it should be working in the "real world" (and is failing within Service-Now). Basically, I'm using a business rule to look through an array of values from a custom status field ...

Mike McCall by Giga Guru
  • 27075 Views
  • 17 replies
  • 10 helpfuls

Resolved! Client Script populate Date/Time field

I have a UI action that needs to record the current date/time in a field and set other values, and then it runs a server side function. It uses the client OnClick and Action name enabling both client and server side functions to run.   The challenge ...

brkelly by Kilo Expert
  • 3606 Views
  • 4 replies
  • 1 helpfuls

Importing new assets

Hi Guys,I have a problem with importing assets into ServiceNow.For example: imagine my company decided to buy SNOW application and first thing is, we have to import all our assets from old asset management system.I have excel, where I have exported d...

soukypro by Kilo Contributor
  • 2100 Views
  • 1 replies
  • 1 helpfuls

Resolved! Reference fields shows empty

Hi,I have 2 reference fields built based on the same table (u_finance) to:1 select the duplicate and 2 to selected the related ticket of the ticket.When Duplicate Of and/or Related To is selected, they show blank but have a ticket assigned....Both ha...

find_real_file.png

Resolved! Grabbing sys_id in cart api script

Hi community,To give you some background of what I am trying to do, we send emails (via inbound actions) to SN to create RITMs based on what the email says. For example, "Item: ServiceNow Permissions" is a catalog item we have that a user can request...

javis by Giga Expert
  • 3692 Views
  • 10 replies
  • 0 helpfuls

Resolved! Lookup selectbox reference qualifier

Hi AllI have a lookup select box and I want to write a reference qualifier which will populate the data based on data saved to requested For field.I had earlier set this up as assigned_to =javascript:gs.getUserID();But this just fetched record for th...

surya123 by Mega Guru
  • 11876 Views
  • 17 replies
  • 8 helpfuls