Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

Objects in function to return multiple data

I am trying to create a function that returns multiple data by using a object as return value. The issue is that this is first time I am defining an object and obviously did not understand how it works. Please help me in the right direction as I can´...

Maintaining sys_id records between instances

Hi We have a requirement to keep the creation of companies and locations in sync between our 3 instances (Dev, Test and Production). When these will be created in Production they also need to be generated in Dev and Test. Of course this could be a ma...

rhiannone1 by Kilo Contributor
  • 2748 Views
  • 2 replies
  • 1 helpfuls

Resolved! UI Script not working in new Service Portal

Hello, I am trying to create a very simple UI script such that I can write re-usable functions to call use with client scripts.Global UI scripts The simple UI script works fine on the CMS. However it DOES NOT work in the Service Portal.Are UI Scripts...

Katie A by Mega Guru
  • 6525 Views
  • 9 replies
  • 7 helpfuls

Resolved! My Requests widget and menu item for scoped app?

Service Portal newbie, I am.  I'm attempting to use a Requests menu item in the header for a scoped app.  I pulled it from the SP_Header menu.    I was able to solve the issue of $sp not working in a scoped app (found some code online here that worke...

chennessy by Kilo Expert
  • 1678 Views
  • 7 replies
  • 1 helpfuls

Service Catalog Request Workflow

Hi All, OOTB workflow Service Catalog Request runs for every service catalog item submission and creates a request that follows approvals - is it possible to have a turn off this REQ portion and just have the requested items run against the RITM work...

arabeau by Kilo Contributor
  • 4890 Views
  • 3 replies
  • 7 helpfuls

Resolved! Service Portal Submission Messages

Hey All, looking for some help on how to remove the "Created REQ" message for certain catalog items We have a requirement to not display this message when a certain catalog item is submitted - I've messed around with a modified SC CATALOG ITEM widget...

find_real_file.png
arabeau by Kilo Contributor
  • 2735 Views
  • 6 replies
  • 1 helpfuls

Get the Parameters from URL

Hi Gurus, I have a requirement to populate the field on the record producer when a record producer is created from incident. UI page Client redirecting to Record Producer on selection:   Its working fine. Now I want to get the sys_id present in the...

Kusuma2 by Kilo Guru
  • 5863 Views
  • 11 replies
  • 2 helpfuls

Resolved! Use case of a custom table

Hello Is there a way to know the use case of a table ?I have a custom table in my system which contains huge amount of entries.I would like to know why this table stands for, where is it used exactly in order to evaluate if that could be a problem to...

vanessaheux by Tera Contributor
  • 1919 Views
  • 5 replies
  • 2 helpfuls

Mask SSN

Hi Everyone, I want to mask First 5 digits of ssn in my custom application table. I tried new SNC.Regex('/\[0-9]{3}-\[0-9]{2}-/'); as per the service now doc SNC.Regex API is not work on custom applications. So i tried standard regular expression for...

daggupati by Tera Contributor
  • 1626 Views
  • 2 replies
  • 1 helpfuls

Resolved! Sort URL query/list based on string field length

I'm trying to sort survey results from the Metric Result [asmt_metric_result] table based on string length in the [string_answer] field using the following:  In the URL: [instance]/asmt_metric_result_list.do?sysparm_query=instance.taken_onONYesterday...

Philip Lee2 by Giga Contributor
  • 1709 Views
  • 3 replies
  • 1 helpfuls