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! Cant see fields on incident table

hi, I added some fields to the task table and i thought that I after adding them I supposed to see them in the incident table as well, but this is not the case. Why cant I see them in incident table as well?

Alon Grod by Tera Expert
  • 1191 Views
  • 1 replies
  • 1 helpfuls

Copy Worknotes from one task to another

Hi Everyone, I have this requirement where I have two catalog task in which when 1 task updated their worknotes it should reflect to the other task. The issue is, since they are on the same table sc_task. Whenever i tried to do a gliderecord and upda...

Tadz by Kilo Sage
  • 7521 Views
  • 14 replies
  • 11 helpfuls

Resolved! Can Someone help me how to add the gs.getSession().getLanguage() for the existing javascript (javascript: "name=item_option_new^element=ctms_subcategory^dependent_value=" + current.variables.request_type)

Can Someone help me how to add the gs.getSession().getLanguage() for the existing javascript (javascript: "name=item_option_new^element=ctms_subcategory^dependent_value=" + current.variables.request_type). Please find the attached screenshot for your...

Resolved! User with the necessary role cannot see the dashboard.

A user with the necessary role cannot see the dashboard even though I shared it to the correct role. It gives me this when I impersonate as the user with the necessary role to view it. Here's the config of the dashboard. Am I missing something? Ar...

find_real_file.png find_real_file.png find_real_file.png

Resolved! Reference fields are disabled when using UI policies

Hello.Implemented a script to deactivate a screen field in case of certain status in UI policy. I have a field in my script that I don't want to deactivate, but I'm using exception handling, but the reference field button doesn't work.What is the cau...

find_real_file.png find_real_file.png find_real_file.png
Yuki21 by Tera Expert
  • 1301 Views
  • 7 replies
  • 3 helpfuls

Resolved! how to print in each value in a new line

Hi guys, How can I print each value in the list in a new line? var ci_list = [];     var gr = new GlideRecord('incident');    gr.addEncodedQuery('sys_created_by=azure_user^cmdb_ciISNOTEMPTY^business_serviceISEMPTY');    gr.query();    while (gr.next(...

Alon Grod by Tera Expert
  • 2304 Views
  • 5 replies
  • 2 helpfuls

catalog item decommission from the service portal

Hi Community, Our organization needs to decommission a few catalog items from the service portal as the services are not offered by the business owners anymore and I want a nice way to advise clients when they visit. As they are fully functional item...

greenbean by Mega Contributor
  • 1150 Views
  • 2 replies
  • 2 helpfuls

User criteria to exclude admins

Hi,   I have a question regarding user criteria in catalog item. We want to display catalog item for vip users only and exclude admins. Ex:  ABC is admin XYZ is vip 123 is admin and vip So display catalog item for XYZ and 123 not ABC   Thanks

How do I script a GlideDate and GlideDateTime

I am parsing a JSON. When a change request is submitted I want to auto populate the planned start date and planned end date. The start date show be the current users local time and the end date should be 5 minutes from the start date. How do I script...

find_real_file.png
asher14 by Tera Contributor
  • 1770 Views
  • 2 replies
  • 0 helpfuls

Resolved! Does publishing the report auto refreshes it whenever new data comes or do I have to publish it again or is using dashboards the same?

I was wondering if when publishing a report and if there are new data, will the published report automatically update with the new data? Alternatively, can I also do the same with dashboards where I can make it auto refresh whenever new data is added...