The CreatorCon Call for Content is officially open! Get started here.

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

Forum Posts

How can we find a script run behind a table insert??

when i order a catalog item a ritm is created and a new record is inserted in opportunity table i need to find out exactly which script behind worked on inserting the record  in opportunity table??   are there any logs type where i can see the script...

Kiddy1 by Tera Contributor
  • 1387 Views
  • 4 replies
  • 3 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
  • 6237 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
  • 1500 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
  • 4501 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
  • 2424 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
  • 5624 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
  • 1753 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
  • 1534 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
  • 1558 Views
  • 3 replies
  • 1 helpfuls

Resolved! Issue with glideDateTime in scoped application

I'm currently using the subtract function for two GlideDateTime values (since scoped apps will not allow you to use datediff). The problem is that I can set the date to a week ago or a month ago and the value it returns everytime is two hour differen...