Questions tagged [servicenow]
ServiceNow is a cloud-based IT service management company. it should not be used; specific ServiceNow product tags should be used instead.
1,041
questions
1
vote
0
answers
8
views
ServiceNow - client script getReference dot walk
So I'm using g_form.getReference('server') which is a reference field to cmdb_ci_server and I need to get the name of the server location. However I only get a hex value back when I look at the ...
0
votes
0
answers
12
views
How to send a Cancel action to ServiceNow Request Item via the REST API?
There is a Cancel button on our ServiceNow Request Items, when clicked it sets the Stage to "Request Cancelled" and State to "Closed Incomplete"
How do I achieve the same but ...
0
votes
0
answers
21
views
Mobile Responsiveness Issue on Service Portal: Resolution Scaling
Hello Developer Community,
I'm reaching out with a concern related to mobile responsiveness on our service portal.
We have designed our portal to be responsive for a mobile scope of 360x767 using the ...
1
vote
0
answers
14
views
How to send attachment dynamic in payload?
I am getting below error in logs.
test 1 {"error":{"code":"RequestBodyRead","message":"An unexpected 'StartObject' node was found for property named 'name' ...
-3
votes
0
answers
15
views
Which domain is best for future ServiceNow development vs Web development? [closed]
Certainly, here's a shorter version:
Hello, everyone! I'm at a career crossroads with 4 years of IT experience – 2 years in web development (PHP, SQL, ReactJS) and 2 years in ServiceNow. Which path ...
0
votes
0
answers
10
views
Description not being populated in Service Now incident when using REST Table API
I am having problems with the following PowerShell code to create an incident in Service Now
# Specify HTTP method
$method = "post"
$bodyObj = New-Object psobject
$bodyObj | Add-Member ...
-2
votes
1
answer
84
views
ServiceNow OAuth endpoints' URLs NOT requiring 'Instance ID'?
QUESTION: Does ServiceNow provide another OAuth approach that does not require [[Instance ID]] within its OAuth endpoint URLs?
I need help integrating ServiceNow's OAuth into my service because of its ...
0
votes
1
answer
31
views
Cannot connect to ODBC linked server in SSMS, but can in ODBC Data Sources
I have a SQL Server instance on a company server which is linked to ServiceNow via their ODBC driver.
As of this weekend, the connection fails when trying to test the connection under Linked Servers.
...
0
votes
0
answers
11
views
Servicenow contains search
The servicenow catalog item in which the search item should be implemented with " conatins" logic
I tried using user prefernce setting , but it will have a impact on all ctalogs , but i need ...
0
votes
0
answers
13
views
Service now Attachment API NOT able to view the posted attachments
I am integrating the service now in Fiori using REST API.
we are able to post the attachments successfully but not able to view the attachments in service now tool .
converting the attachments to ...
0
votes
1
answer
40
views
UI Action returning GlideAjax undefined in ServiceNow Workspace
Requirement: Check if there is an attachment associated to the record. If yes, allow the user to retire the record. if No, display an error message to user.
Running the Below Workspace Client script ...
0
votes
0
answers
51
views
Servicenow - How to generate custom excel file from script
I'm trying to generate a xls custom file through script and attach it to a record.
It works fine when I use csv extension but when I change into xls or xlsx the file will be corrupted once I ...
-3
votes
1
answer
45
views
How to send email more than one "cc Recipients" using rest api v1.0 in JavaScript [closed]
I am working with Microsoft graph api. Just need to know that how i can send email more than one recipient using below code.
I am trying with attached code but giving the below error in response body.
...
0
votes
1
answer
21
views
How to get current user's sys id in ServiceNow when using REST APIs?
I created an "Login with ServiceNow" OAuth flow via Authcode grant (I don't have username). As of now, I only am aware of the instance URL and access token - how do I use this to get the ...
0
votes
0
answers
24
views
Building a ServiceNow Interactive Filter for String Fields (Tags)
I have built several dashboards but have not been able to understand interactive filters fully. I need a filter for Tags on Demands on ServiceNow, but Tags are a string field. Any help with either an ...
0
votes
1
answer
63
views
Export ServiceNow data into SQL Database Using Azure Data Factory
I currently have a pipeline set up using the native ServiceNow connector as my source dataset. I'm using a simple query to pull records from the sc_req_item table. I have an Azure SQL database set up ...
0
votes
0
answers
10
views
Progress of Activity sets not visible in HR lifecycle events case in ServiceNow
Hi currently I am working on New Hire Onboarding in using ServiceNow.
After HR case got created in HR lifecycle events case the progress of Activity sets is not visible and Activity set Execution UI ...
0
votes
0
answers
15
views
How to query for Incidents related to a certain service in Service now?
Using CMDB query builder, how to query for all Incident tasks associated with a certain service? I am a beginner and I cannot seem to find an answer to this anywhere. In CMDB I am looking for a class ...
0
votes
0
answers
15
views
introduce a new widget called Related Articles. It is an OOB feature that shows a ML-generated list of articles related to the one being viewed
In servicenow While viewing a knowledge article from the Service Portal or Knowledge Portal, you can see a static list of "Most Viewed" and "Most Useful" articles on the right-hand ...
0
votes
1
answer
30
views
Extracting and flattening data from an Oracle Apex SQL table with multiple lookup tables
I am working in ServiceNow with an external Oracle Apex database, and the goal is to gather data from a main table, that has 21 references to different lookup tables. Each of these lookup tables ...
1
vote
0
answers
12
views
Configuration name from SNOW - Uipath Windows
I am trying to collect the data from Service now using Uipath application. Since windows legacy is moving away, I am trying to get the data in snow in Windows.
I am trying to filter the Change ...
0
votes
0
answers
26
views
Use ServiceNow instance login for AWS Cognito Apps authentication
I want to log in to my AWS Cognito app. But on accessing the AWS app, the user should be redirected to the ServiceNow login page, and upon authentication, it should redirect back to the cognito with ...
0
votes
2
answers
39
views
ServiceNow Application
How to do export and import the script includes functions to another javascript in servicenow application.
I need to call doMultipy fuction from another javascript file on servive now application. ...
0
votes
0
answers
67
views
Trouble uploading attachment to ServiceNow (attachments API)
I am trying to upload a text file, to attach to an unpublished Knowledge article in the Utah release of ServiceNow.
My code is:
$uri = "https://instanceName.service-now.com/api/now/attachment/...
0
votes
0
answers
20
views
PowerBi - error reading DateTime field from excel
I have PowerBi dashboard that reads data from an excel sheet.
The excel is extracted from my email and put in sharepoint location using power automate.
Unfortunately, when the excel is created, the ...
0
votes
0
answers
18
views
How to revise the token from GitHub stored in ServiceNow (ServiceNow Studio "Edit Repository Configuration")
After much futile searching ...
The mis-named ServiceNow Studio "Edit Repository Configuration" does not allow you to update an expired GitHub token.
In ServiceNow, navigate to "...
0
votes
0
answers
18
views
Ag-Grid ServerSide on ServiceNow Service Portal
Anyone has implemented ag-grid using ServerSide on ServiceNow Service Portal before?
I need to get some sample from yours.
I have problem where it doesnt load record by batch.
It straight away loads ...
0
votes
0
answers
17
views
Integrating ServiceNow for Agent Transfer: How to Create Chats from External Systems?
I have a specific use case where I need to integrate my system with ServiceNow to create chats on behalf of users and receive agents' messages.
After researching, I came across the AWA module in ...
0
votes
0
answers
101
views
How to add attachment to record with REST API without a physical file?
I'm trying to use ServiceNow's REST API to add an attachment to a record, but I want to upload the attachment from memory as bytes/base64/etc., without a physical saved file path.
Currently working ...
0
votes
0
answers
27
views
ServiceNOW publish article through API
I managed to get add an article to the knowledge base in ServiceNow using the API. However, the added article is always in draft.
Is there a way to publish an article with the API?
It is fine to do ...
0
votes
0
answers
33
views
ServiceNow CLI "snc: command not found"
I'm having trouble getting the SN CLI working on my work laptop.
Something to note is that I've installed via npm, i.e. npm i @servicenow/cli -g instead of the installer because I do not have admin ...
0
votes
1
answer
48
views
ServiceNOW Dashboard issues
HI I have a requirement for a dashboard to show closed incidents + closed tasks in one dashboard by assigned group/assigned to broken down by month. I am able to get the query to include past 12 ...
0
votes
0
answers
26
views
In ServiceNow I want to load a GoJS diagram when a tab is change in a different widget
There are two tabs called 'CI' and 'MAP'.
The widget with the GoJS code is embedded in the MAP tab and loads when the map tab is active on page load. However if the CI tab is active on page load the ...
0
votes
0
answers
16
views
Creating graph in service now with difference in two columns
I am trying to create a graph in servicenow. I clicked add new widget and selected source as table and i mentioned my tablename. In the query builder i have selected options for all the incidents ...
-2
votes
1
answer
86
views
unit testing tool for service now application
We are looking for a unit tetsing for service now application.Anyone suggest which unit test tool is good for unit testing of Service now Application apart from ATF.
Note: We are looking for an tool ...
-1
votes
1
answer
85
views
How to change SNOW state from "Closed Incomplete" to "Closed Complete"?
For ServiceNow by mistake i update state as "Closed Incomplete", but i want to change to "Closed Complete" Can you people help me with this.
I can't able to do anything about this ...
0
votes
0
answers
102
views
Two way binding not working in AngularJS form in Service Now platform
I'm working at a form on the ServiceNow platform, using AngularJS. It seems like something quite simple like two way binding is not working.
Here's a simplified snippet of my html:
<form name="...
0
votes
1
answer
27
views
Trying get case object with specific id but that object data not retrived
I want get case object for perticular id so for that I have used below API
https://service-now.com/api/sn_customerservice/case/CS0001052
so before some time of period it's working fine and gave ...
0
votes
0
answers
109
views
Get case comments with comment author information and author type on Servicenow
I want to fetch the comments with comments author information like author name, email, type (Requester or Assignee) etc from servicenow api.
for that I used this REST API
https://service-now.com/api/...
-3
votes
1
answer
57
views
How to get primary on call from service now api?
I am trying to get the primary and secondary on call for my assignment group through the service now api. I can't find anywhere how to find the current primary on call and secondary on call. I've ...
0
votes
0
answers
704
views
Advanced Reference qualifier on field not working as expected
on my PDI (Utah) I have a script include that I've been using to test reference qualifiers on a field.
The script simply returns a query that, in theory, should be used to filter a a user list ...
0
votes
0
answers
44
views
How to add users first name to templated responses in ServiceNow
I've created various templates for ticket responses in ServiceNow, but I'd like to personalise these by including info such as the users first name. e.g. "Hi Joe, Have you tried the following...&...
0
votes
0
answers
13
views
Mapping nested data from additional information in email notification
Suppose i had sent nested json data in additional information in em_alert, how do i access the nested data in the Email notification?
For example the additional info has below nested value, how do i ...
0
votes
0
answers
281
views
How to increase size of variable and make it bold in portal side as well as platform side in Servicenow
I have one variable of type label in catalog item, which needs to be bold and increase its size by 4 pts.
I have written onload client script. Size of variable is increasing in portal side but the ...
0
votes
0
answers
22
views
Servicenow Vs Qualtrics for concurrent user access and update of surveys
I am basically trying to understand what would be the best fit between Servicenow & Qualtrics
as opposed to on prem survey application for the below requirement and to give a recommendation -
Use ...
0
votes
0
answers
24
views
Datas are getting displaying according to which month was created first
In a table I need to display the month data but while printing the data it should be displayed below its months header(jan month data should be displayed below jan but its displaying according to ...
0
votes
1
answer
51
views
Is SN offline testing possible?
How to create a "local (non-cloud) instance of ServiceNow" on a linux box?
Furthermore, as I am a total beginner, please provide guidance on:
Would testing results be mostly portable to ...
2
votes
1
answer
280
views
How can a JavaScript object be false and not null?
From within a ServiceNow script, I am trying to detect whether or not something is defined.
On this page it says
All values are truthy unless they are defined as falsy. That is, all values are truthy ...
-1
votes
1
answer
480
views
How do I return date incident assigned to specific group in servicenow
how do i return a date in a report of when an incident (or item) was assigned to a specific group. not run yet, i need to return the create date of an incident and when it was assigned to the current ...
0
votes
0
answers
47
views
Trouble with the ServiceNow IdentificationEngine API (createOrUpdateCI())
I am trying to use this API resource to create some CIs through a scripted REST endpoint, but there are two issues.
When I send CI properties for a firewall and one of its interfaces, both CIs are ...