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

Forum Posts

Can a business rule find its own Sys ID?

I would like to create a variable in a Business Rule containing its own Sys ID (dynamically) to pass that variable inti a function to another Business rule - how can I do this?current.sys_id will get the Sys ID of the record that the business rule is...

liv_cp by Giga Contributor
  • 1739 Views
  • 9 replies
  • 0 helpfuls

Adding and setting date field on client side

From the client side, I am trying to autopopulate an end date field after the start date field has been entered.Here is my current code:Catalog Client Script - OnChange - StartDatefunction onChange(control, oldValue, newValue, isLoading) {     if (is...

Resolved! Date Time Calculation

Dear Sir,I had create two fields in incident, one is 'assign date', another is 'resolved date'.How can I calculate the date difference between 'assign date' and 'resolved date' by using client script? Then put the result into 'date diff' field.Thanks...

Screen Shot 2017-05-17 at 16.10.10.png

Standard change Template variable update change request value

Hello All,Does anyone know how I can populate service on a change request values section of a proposed new standard change with the same value that is entered in the service variable on the record producer?So when a service is selected in the first a...

Service.JPG
Nolan3 by Mega Guru
  • 3517 Views
  • 4 replies
  • 2 helpfuls

Resolved! GlideList Value

I've created a table that's referenced by a glideList. In my table, there are three fields: first_name, last_name, and email. When I use the glideList to make a selection, I see these fields in the resulting popup window. But, no matter which field I...

alexpullos by ServiceNow Employee
  • 1231 Views
  • 3 replies
  • 0 helpfuls

Resolved! How to relate multiple change request to an Incident?

I have 10 change requests fields in my incident form. I want these 10 change requests to show up in the Incident Form Related List. Right now, only one can be listed. How to show all 10 change requests?This is the Relationship I created. Need your h...

find_real_file.png find_real_file.png find_real_file.png
Community Alums by Community Alums  
  • 5559 Views
  • 16 replies
  • 1 helpfuls

Resolved! Map checkbox to list field using record producer

I have a series of checkbox variables that I want to map to a list field on the table.   Checking the checkbox just returns "true" or "false", so I cant map the fields.   Has anyone done this using an onSubmit script to map the fields?

Community Alums by Community Alums  
  • 3519 Views
  • 10 replies
  • 3 helpfuls

Should we follow Update Set or Application Scope?

Hi,     I have queries regarding developing app from Service Now.     Which approach should i follow while developing app's ?     I) Update Set     II) Application Scope       Any Expert can give suggestions with advantage and disadvantage of approa...

Resolved! How does the oob procurement process flow work?

Hi All, I turned on the procurement plugin. "com.snc.procurement" and loaded the demo data. I am trying to test how "procurement process flow- Hardware" workflow works. So i tried to request "Microsoft Wired Keyboard" in the demo instance. But looks ...

Procurement Process flow- Hardware.png RITM0010008.png
rev3 by Mega Expert
  • 4265 Views
  • 6 replies
  • 3 helpfuls

Resolved! Need help with Date Validation script

I need an 'OnChange' script that will check to see whether the entered 'start_date' that is less than 2 weeks from today (or whatever day they are filling out the form).   If they enter a date less than 2 weeks away, I want to display a pop up messag...

Resolved! Is it possible to modify the global text search?

When you search for a unique number, the global text search will open the related record. Is it possible to modify the functionality to open a record if a specific field matches? For example, when a vendor gives their ticket number and we search for ...