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

Create Requested Item with all variables from Inbound Action

Hi All, I have a requirement to create Requested Item with all the variables from Inbound Action.Catalog form name: Generic RequestVariables- Requested for -(referring to sys_user)Email- Autopopulate based on Requested forAccount - lookup select box(...

Samiksha2 by Mega Sage
  • 1254 Views
  • 10 replies
  • 1 helpfuls

Resolved! Export a form in excel format.

Hi All, I have a requirement I want to export a form in form of Excel sheet. Right now we have options to export it in PDF and XML format. But we want an another option to export it in EXCEL format. Can any one help How we can achieve this.@Ankur Baw...

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
  • 1233 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
  • 981 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
  • 1469 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
  • 1192 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
  • 2537 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
  • 1360 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
  • 1863 Views
  • 4 replies
  • 2 helpfuls