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

Any DB transaction method supported?

Hi all, I've looked into GlideRecord API but there isn't any method to handle DB transaction (rollback/commit). I have 2 questions as below: Question 1: In server script, I have a while loop to insert 3 records at the same time. The requirement is al...

youming2007 by Kilo Contributor
  • 1771 Views
  • 2 replies
  • 5 helpfuls

Resolved! Can change the X-Axis Time Display in Reports?

Hi Team, I want to change the X-Axis Time display on the report graph below. I want to display the data in Weekly or Monthly buckets. Not the default that Service Now is displaying.     For Example: I want to display the data based on This Week by D...

find_real_file.png find_real_file.png
Pandimeena R by Mega Contributor
  • 6424 Views
  • 3 replies
  • 3 helpfuls

Rollback changes through Application repository

Hi All,I liked the concepts of Source control and Application repository which were brought in Service-now, to help the developers to manage and migrate the code across the instance easily.However, I see some scenarios are not handled. Is there a way...

Refresh Related List Automatically

Hi, I want to refresh automatically a Related List after a field change, without click on (right click → Refresh List). how can I do? Thanks to all.

LdR by Tera Expert
  • 4059 Views
  • 3 replies
  • 2 helpfuls

How to get query sys_id of current.sys_id Service Portal

Hi SNOW Community, I have a question regarding a small issue that I'm having. I've created a widget that will live on the Service Portal to allow an admin to Accept or Reject requests.  The data for the widget is pulling from the Approvals (approval_...

find_real_file.png
Learning Guy by Tera Contributor
  • 4650 Views
  • 19 replies
  • 0 helpfuls

Rest API Call Issue - HttpStatus returns 0

Hello , I am making a REST API call and keep getting httpstatus code as 0 with the following error  The request failed: java.lang.IllegalArgumentException: host parameter is null","status":"0". I have the endpoint url configured correctly.  Any idea ...

Roy B by Kilo Contributor
  • 2180 Views
  • 4 replies
  • 0 helpfuls

Resolved! Modify Font Color on a readOnly field

Hello All,How do you modify the font color when the field is set to ReadOnly?Out of the box, the background is grayed and the font is also grayed (slightly darker) when it's readOnly. I was asked to make the font color to black.I appreciate your resp...

How to retrieve 100K records via Scripted REST api

Requirement: I need to pull 100K records from one of the table e.g. sys_user. Solution Attempted: I know table API works through pagination technique using sysparm_limit, sysparm_offset, and sysparm_query parameter. However, I wanted to see if anyone...

Resolved! Confirmation message on Service Portal Widget

Hi all, I had a request come in to allow for users to close their own requests (RITM) in case it was submitted in error or if it is no longer valid. I already had a "Actions Buttons" widget on my Service Portal for closing incidents, so I copied this...

find_real_file.png
mattystern by Kilo Sage
  • 3509 Views
  • 7 replies
  • 1 helpfuls

checking group membership via Client script

Hi,I have a Catalog Item where users can select a group and a list of users.   What I want is to look at that group members and set up an alert (or confirm) that says whether any of the users selected are already in that groupOr I guess I could do th...

How to convert XML to JSON?

I have made a SOAP call and I am getting a response. I have a parameter in the Response which is base64 encoded. So I have parsed that parameter and decoded it. Now the decoded value looks familier however I have to convert the decoded string into JS...