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

Forum Posts

Resolved! Redirect from Service Portal to Native UI

Hi, When I redirect from Service Portal (window.location='/nav_to.do?uri=%2Fhome.do';) to Native UI, it directs me to blank page on Native UI (/nav_to.do?uri=%2Fblank). How can I load the home page? Thanks, Ashraf

ah16 by Mega Expert
  • 2490 Views
  • 3 replies
  • 1 helpfuls

POSTing file to sys_import.do with Powershell

We are trying to update a table using /sys_import.do?sysparm_import_set_tablename=u_kronos_department_import. I have the below Powershell, and when run I do get an HTTP 200 response, but the file does not appear to load. I can run an identical upload...

find_real_file.png
NT35 by Kilo Explorer
  • 4983 Views
  • 8 replies
  • 6 helpfuls

Resolved! Removing members from groups

I need help in removing members from groups that I import from AD. Today I import both AD accounts and groups into the ServiceNow environment. I had had great success in populating the necessary fields; managers, members, owners. etc. etc.. However I...

Resolved! syntax for indexOf() does not contain

Hi, what is the syntax for if I want to check if the string DOES NOT CONTAIN in indexOf(). I am writting inbound actions so want to trigger only if it does not contain certain string. Thanks

SNowUser11 by Kilo Guru
  • 9622 Views
  • 3 replies
  • 5 helpfuls

Resolved! Need a background script to cancel emails from being sent

I've created the below script to cancel emails that are in the queue in a ready state in order to keep them from being sent out.  When I tested it in DEV, it changed the state to ignored but then it still processed the emails when I turned on email s...

KeithM1 by Tera Expert
  • 3601 Views
  • 12 replies
  • 1 helpfuls

What is the best way to report a (very annoying) bug I found?

I'm using a test instance of London to check out creating scoped applications. I have created a basic scripted rest service and I have some gs.info calls for logging. I discovered that if you log the request data in the manner below with gs.info that...

Tim125 by Mega Contributor
  • 2541 Views
  • 9 replies
  • 2 helpfuls

Script to close current window

Hello All, Can any one tell me how many ways are there to close the window. can you provide me the script to close the window.

sunil29 by Tera Contributor
  • 4820 Views
  • 8 replies
  • 0 helpfuls

Report on list field

I have a table with a list field where I want to group on values.   However, I have read you cant report on this because these fields are an array of sys_id's, meaning one could show as A B C and the other could show as C B D.I want to be able to rep...

Community Alums by Community Alums  
  • 5159 Views
  • 6 replies
  • 3 helpfuls