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

Forum Posts

Triggering an event from a Fix Script

I am trying to trigger an event from a fix script which I will eventually convert into a scheduled job. I want to basically trigger the event when there are any new records created on a custom table that day. I have the below script which I can see h...

anfield by Tera Guru
  • 3207 Views
  • 5 replies
  • 0 helpfuls

Article Body (text) field in Knowledge Base Articles

I import some knowledge articles from another system into a staging form.  Now I'm trying to create a new Knowledge Article but the Article Body is blank after my GlideRecord.  I've tried a couple of things:This doesn't work (gr2.text is blank):     ...

kemmy1 by Tera Guru
  • 2186 Views
  • 8 replies
  • 0 helpfuls

Bootstrap alert-warning vs gs.addInfoMessage style

Does anyone know a way of using Bootstrap's alert-warning style in place of the default gs.addInfoMessage() or gs.addErrorMessage() styling? I'm trying to do this in a display business rule.I've tried playing around with hacky CSS stuff, but that had...

info.JPG warn.JPG

Logout should redirect to Login page

Hi Team,  We were using SAML and the user clicks on logout , it is redirected to the SSO login page wherein user will be asked to entered credentials whereas when we recently moved from SAML to multisso , when the user clicks on logout it is not redi...

Resolved! How to create Knowledge Article using ATF?

Hi All, I am trying to create a ATF to create HR Knowledge Article. However I am unable to select Knowledge Base as a field itself when I have selected Set Field Values Operation for Table kb_knowledge. It does not come in the list of fields and henc...

vish1 by Kilo Contributor
  • 2391 Views
  • 6 replies
  • 2 helpfuls

Resolved! Assigning value for reference field maps in Scripted IRE

Hello, I am currently working on a cmdb scoped application that imports external devices from a 3rd party into Servicenow. Currently working on importing software instances installed on devices. The devices themselves have already been imported into ...

Omar_Sanchez by Tera Contributor
  • 1379 Views
  • 4 replies
  • 0 helpfuls

Resolved! pass parameter to page with widget via page url

in service portal i have a page with one widget the server script on the widget needs a sysid i thought i could put the sysid in the url and retrieve it in the server script on my widget, like so:   my url is: myservicenow.com/sp?id=mypageid&sysparm_...

ggg by Giga Guru
  • 12481 Views
  • 2 replies
  • 15 helpfuls

Resolved! Help parsing through the value of a system property

I have a system property that I created to holds a list of sys_ids from the sys_user_group table.  They are separated by commas in the system property like so:  sysid1, sysid2,sysid3 In using the gs.getProperty function, I'm able to retrieve the valu...