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

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

Forum Posts

set date field to display calculated value

I need to update a form so that a notification date field is updated to two weeks before the termination date field. The requestor sets the termination date, so I need a script to grab the termination date, subtract 14 days, and then publish the new ...

tbofinger by Tera Contributor
  • 1205 Views
  • 2 replies
  • 0 helpfuls

Creating RITM form script

Hi,We have a requirement to create multiple RITMs from script.With the script I am able to create the RITMs but somehow the variables are not visible on those RITMs created from script.Looks like the link between RITMs and variables is missing.Please...

Kalyani35 by Tera Guru
  • 964 Views
  • 2 replies
  • 0 helpfuls

Resolved! Service Portal Log Entries Not Logging Search Terms

Hello, we are having an issue where the Service Portal Log Entries table (sp_log) is not logging the actual search terms that are searched for on the Employee Center. It shows that the search page was visited, but not the search term that was used.  ...

DylanB_0-1692990589303.png DylanB_1-1692992390302.png
DylanB by Tera Guru
  • 1446 Views
  • 2 replies
  • 1 helpfuls

Submit button functionality

Hi,We have a requirement to make the change request form to stay on the current page on clicking submit. Here is the code:Condition: current.canCreate()answer = current.insert();gs.include('ActionUtils');var aUtil = new ActionUtils();aUtil.postInsert...

Best practise for OOTB state name changes

Hello,We have requirement to change the label of one OOTB incident state.e.g. State "A" with value 1 should be renamed to "AA" and keeping value 1. is that OK for the long term? I would like to avoid creating a custom state instead.- Is the best prac...

Pastupe by Mega Guru
  • 1179 Views
  • 4 replies
  • 0 helpfuls

limiting characters

Hello,I've implemented a catalog onchange client script that effectively limits users to entering a maximum of 10 characters, which is functioning well. Presently, an alert is triggered only when a change or action is performed on the form. However, ...

PK14 by Kilo Guru
  • 2506 Views
  • 7 replies
  • 4 helpfuls

How to add Interaction Records In Service Portal.

 Hi All,I am new in coding. I want to add interaction records in service portal.  If I created interaction for user X then I want to show only those interactions in User X self service portal inside My Open Incident widget.please guide me.

Service Portal.PNG
USER_1234 by Tera Contributor
  • 1344 Views
  • 2 replies
  • 2 helpfuls

URL export is not working with JSON

Could someone please explain why the URL export functionality doesn't seem to work with JSON format using the provided examples? Link 1 : https://<serviceNow-instance-name>/u_sn_sm_finance_request_list.do?XLSX&sysparm_query=company.u_delivery_center%...

Akshay03 by Kilo Sage
  • 1834 Views
  • 4 replies
  • 2 helpfuls

Resolved! reference qualifier conditions based on form view.

Hi experts,We have a requirement to apply reference qualifier for a reference field based on for form view. We have 2 views for location table say A & B. The reference qualifier specified on the Dictionary entry should be applicable only for view A a...

si21 by Tera Guru
  • 1199 Views
  • 5 replies
  • 1 helpfuls

Event fired but notification not sent in servicenow

Event fired but notification not sent in ServiceNow, please help me resolve.Created an event in event registry, and called in scheduled job, event is successfully triggered but notification not sent.Event Registry:Notification:Event triggered success...

Sruthi17_0-1692960831507.png Sruthi17_1-1692960859253.png Sruthi17_2-1692961273977.png
Sruthi17 by Mega Sage
  • 1014 Views
  • 4 replies
  • 3 helpfuls

Additional comments on ritm

Hi all,I want to do these two things when onHold Checkbox is checked on sc_task form:1) Make Additional comments as visible and mandatory2) Shows the "Additional Comments" as long as the checkbox "on Hold" is checked, (non mandatory after first chang...

pandeyved by Tera Contributor
  • 1277 Views
  • 4 replies
  • 0 helpfuls