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

Forum Posts

Resolved! For cmdb_ci_win_server table,we need to map location field based on u_server_room,can any one please suggest sample code for setting the location field value based on u_server_room value.

Dear Group members, we have requirement as below, For cmdb_ci_win_server table,we need to map location field based on u_server_room,can any one please suggest sample code for setting the location field value based on u_server_room value. Best Regards...

Naga13 by Tera Contributor
  • 3121 Views
  • 8 replies
  • 1 helpfuls

Resolved! toLocaleDateString is not working in server side script

HiWe need to convert a date to Japanese calendar.On the client side, dt.toLocaleDateString('ja-JP-u-ca-japanese',{era: 'long'}) works and converts the date to the Japanese calendar without any problem, butHowever, the business rule does not work well...

aikotoba by Tera Guru
  • 2481 Views
  • 6 replies
  • 0 helpfuls

Resolved! Using dateDiff to check if date is within 14 days from now

I'm trying to use a client script / script include combo to find out if a date is within 14 days. If the 'Start Date' (u_mwo_promo_start_time) is less than 14 days from now, the late request box should switch to 'true' and an alert should show. I am ...

find_real_file.png find_real_file.png find_real_file.png
Aaron Schmid by Tera Contributor
  • 9945 Views
  • 8 replies
  • 1 helpfuls

UI policy is not workin on RITM and catalog task even if Applies on Requested Items and Applies on Catalog Tasks is checked and there is no other client script which is working on it,I then made the UI policy inactive and created client script but

UI policy is not working on RITM and catalog task even if Applies on Requested Items and Applies on Catalog Tasks is checked and there is no other client script which is working on it,I then made the UI policy inactive and created client script but s...

Community Alums by Community Alums  
  • 1342 Views
  • 4 replies
  • 0 helpfuls

Resolved! Calculating task states

How can I calculate the amount of time a sc task has spent in the various states? i.e. the task was in pending X days and then was Work in progress Y days. TIA

Mike Butts by Giga Contributor
  • 1864 Views
  • 1 replies
  • 2 helpfuls

Resolved! Which table stores the delegated developer access?

Does anyone know which table stores the delegated developer access? I know the table sys_user_has_role shows who has the role but I know to see who has access to which application. Is that something we have access to? Thanks 

Javed1 by Tera Expert
  • 1605 Views
  • 2 replies
  • 3 helpfuls

Resolved! Business Rule triggers don't work.

Hi, All. I'm triggering the Business Rule to work if the Name of the record inserted in the Event [sysevent] table is login, but it doesn't work. The reason for this trigger condition is that if the user logged in to the instance has admin privileges...

Sato3 by Tera Contributor
  • 10226 Views
  • 16 replies
  • 7 helpfuls

Resolved! Variables not displayed even using formatter

Hi can someone help with me on this. I tried the steps in servicenow documents on how to make the variables displayed on the form when using custom application. But it seems that it doesnt work on my end but from my friend it works but a bit bug or s...

win b by Mega Guru
  • 2530 Views
  • 4 replies
  • 0 helpfuls

Resolved! 2nd Business day of the month

Hi Team, How can I schedule a job to run only on the 2nd working day of the month? For example in the month of January of this year, 4th is the second working day, so job should run only on 4th. Only once in a month that too on a second business day....

Khanna Ji by Tera Guru
  • 3806 Views
  • 6 replies
  • 4 helpfuls