We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! On load pop-up message

Hi, I want to display pop-up when form loads when contact field is guest (his userID is guest). I wrote the script, but it fails. Any ideas why? function onLoad() { //Type appropriate comment here, and begin script below var user = g_user.UserI...

Dawid2 by Giga Guru
  • 1750 Views
  • 6 replies
  • 0 helpfuls

Sys_updated_on only for active field to get query ?

Hi  we 're trying to query the records in user table(sys_user) that the only active field was updated on last two days but somewhat the users records getting other fields updated daily basis and updated by integration feed even after the record was i...

find_real_file.png find_real_file.png
sukran by Mega Sage
  • 2393 Views
  • 6 replies
  • 0 helpfuls

SLA updating elapsed time on incident form

Hello guys, I would like to ask you all a question about SLA in the related list in the incident form.I have noticed that the elapsed time is doesn't show the value in real time but It is necessary to refresh the SLA. Are there any suggestions to sol...

nicolancl by Tera Contributor
  • 1733 Views
  • 1 replies
  • 1 helpfuls

Resolved! Access client script variables in jelly

Hi there, Can you please advise how can I access variables from client script in Jelly UI page.  I'm asking user to enter some thing and just displaying it on UI page, please see below code: Your help will be appreciated. Thank you, Mujtaba

find_real_file.png
questsal78 by Giga Expert
  • 3589 Views
  • 3 replies
  • 0 helpfuls

Resolved! Accessing user attributes from Catalog Client Script??

Hello! I'm working in the post-sec education sector and we have a series of user attributes that qualify user type classifications (boolean values of "student true/false", "faculty true/false", "alumni true/false", "employee true/false") and I'm tryi...

jMarshal by Mega Sage
  • 2252 Views
  • 4 replies
  • 1 helpfuls

Resolved! How to add the Submit button to a catalog item

I have a Submit button   on catalog items Hardware Request, Permission Request, Application request form. But it is not on the Report request form from the portal view.   How do I add the Submit to this form from portal view?

velvet by Mega Guru
  • 6773 Views
  • 25 replies
  • 0 helpfuls

Revert back the state of RITM to its previous state

Hi Everyone, I need some help here, actually a bunch of RITM(requested item) got updated to closedskipped state from its initial state via an unwanted script. I commented out that script and wanted to revert back the state to their previous state fro...

Resolved! SP Widget Server Script get sys_id of calling catalog item

As I replied to This community question:  I have a catalog item on the Service Portal to where I added a macro variable that loads a widget:   Now, when this widget loads, I want to grab the sys_id of the calling catalog item because in the Server S...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
xiaix by Tera Guru
  • 3410 Views
  • 2 replies
  • 7 helpfuls

Resolved! Adding a field_list type field

I'm trying to add a field which lists all related fields dependent on a table which i have selected on the form.This functionality is evident in notifications when you assign a field to be the recipient for a email.But I cannot select the field type ...

NeilH2 by Giga Guru
  • 3578 Views
  • 2 replies
  • 5 helpfuls