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

Forum Posts

Resolved! Scheduled script for last working day of the month

Hi Guys   Would this script work for a condition based on the last working day of the month?  running monthly.   function isLastWorkingDay(gdt) { var today = gdt.getDayOfWeekLocalTime(); var thisMonth = gdt.getMonthLocalTime(); switch (today) { // Sa...

find_real_file.png
Rodzula by Tera Contributor
  • 2573 Views
  • 6 replies
  • 1 helpfuls

Resolved! Service Portal - Search Return

Under Service Portal Any Item a search returns 0 results. then The Request form should be presented with the following text "Hmmm looks like we haven't got that item in our catalog. Please submit this form in the meantime"  As of now we are getting a...

Vasuki by Tera Contributor
  • 2511 Views
  • 8 replies
  • 3 helpfuls

return false; not working in on change Client script

function onChange(control, oldValue, newValue, isLoading, isTemplate) { if (isLoading || newValue === '') { return; } if (g_scratchpad.x == '5 year') { var answer = confirm(" are you sure to change long term holding "); ...

Ganesh K_ by Kilo Contributor
  • 3123 Views
  • 6 replies
  • 3 helpfuls

Emails are getting set to send-ignored.

Hi Experts, We have a notification when a KB article gets a rating and comment through the service portal, and the notification is sent to one particular email address, which is not a group or user in ServiceNow. The notification is generated but not...

Mohammed20 by Tera Contributor
  • 6052 Views
  • 18 replies
  • 0 helpfuls

Resolved! How would I limit a UI action to a certain group

How would I limit a UI action to a certain group? We have a group in ServiceNow and want UI action tabs should be visible for these groups members only and below condition already in placed. Now want to add one more condition for limit the access to ...

Abhishek64 by Kilo Contributor
  • 4535 Views
  • 12 replies
  • 1 helpfuls

Transform Map run script syntax won't work in onAfter/onBefore ?

The syntax --> target.city = source.u_city + "(" + source.u_state + ")"; works in run script of a transform map but when I try to run the same syntax through onBefore or onAfter it doesn't work.  My question is, is the syntax a bit different in Trans...

Nolan4 by Tera Contributor
  • 3855 Views
  • 5 replies
  • 1 helpfuls

Is there a way to create a catalog item that will create an RITM and then automatically assign a separate catalog task to every member of an assignment group?

We are looking to create a catalog item that we can use to create an RITM that then automatically assigns separate catalog tasks to every member of a specific assignment group. Then, the RITM does not close until all catalog tasks have been completed...

Jeremy F_ by Giga Expert
  • 6838 Views
  • 3 replies
  • 1 helpfuls