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

Forum Posts

Resolved! GlideRecord.addQuery

Hey folksAnyone familiar with GlideRecord.addQuery?   Trying to write query with GlideRecord.addQuery(),Last login time relative before 90 days ago:     gsUsers.addQuery('RELATIVELT','RELATIVELT','@dayofweek@ago@90');or Last login time is empty:     ...

georgechen by Kilo Guru
  • 4486 Views
  • 3 replies
  • 2 helpfuls

oauth_token.do empty response body

Hi Team,I have been trying to request the access token, i have double checked my credentails and also made sure that the Oauth client id and secret are active, but I always get an empty response bodyon commandline curlcurl -d "grant_type=password&cli...

kevin131 by Kilo Explorer
  • 2081 Views
  • 4 replies
  • 0 helpfuls

Configuration Items based on Category&Sub-Category

I am trying to limit the Configuration Item list to a specific few that depend on Category and Sub-Category. When I choose a Category and corresponding Sub-category, In the CI field, I want only certain CIs to be in the drop down.How can I do this?I ...

Resolved! REST API (Table API) actions returning 200 but not taking

I am authenticating as a user with the rest_service role and using the Table API, but all actions I am taking (specifically POST and PATCH) are not updating any data. I receive a 200 response back but none of the fields are actually changed. On a pos...

bscharm by Kilo Explorer
  • 6441 Views
  • 7 replies
  • 2 helpfuls

Resolved! Make a field read-only unless it is a new record

Using the New Call Module as an example, is it possible to lock down a field as long as it is not new. So on the New Call screen, we have a choice box called Call Type. Once the call record has been saved, or the user goes into the list of call recor...

How can I host a plain HTML file on ServiceNow?

Hi,We'd like to serve plain vanilla HTML (or JSON, or other plain text) from the ServiceNow server with absolutely no ServiceNow specific markup being added. We'd like to do this for a number of reasons, including:serving AngularJS templatesAPI stubs...

afranklin by Mega Contributor
  • 7478 Views
  • 13 replies
  • 0 helpfuls

Resolved! Workflow stage duration question

What does the duration field on Workflow Stage do?   Is it based on the RITM start date?   Or is chained together?I've entered some values on each stage that I think should reflect how long each stage in a Requested Item should be.   For example, the...

tahnalos by Kilo Sage
  • 4323 Views
  • 2 replies
  • 0 helpfuls

Resolved! Create a popup box for a catalog item

I have a catalog form that contains a field asking what type of member are you trying to Onboard, I want to create a confirmation popup box that says something like "Are you sure this is the type of member you want to onboard? ". I would like the con...

find_real_file.png
Cupcake by Mega Guru
  • 5897 Views
  • 7 replies
  • 1 helpfuls

Resolved! sysparm_fixed_query with Group By on a Module

Hi ExpertsI have a List Module for Time Card and I have on the Argument a &sysparm_fixed_query to having a restricted filter.this is working well.now I need to add Group by on in this List but this is not working?I know that group by works with norma...

Elias11 by Giga Expert
  • 5284 Views
  • 5 replies
  • 2 helpfuls

Resolved! List Calculation and personalize_control Role

Hi ExpertsI want to give itil users to their customized List View the ability to configure the calculation adding total to their fields etc...I found out in WIKI that you can give users the personalize_control Role and they will be able to do that, b...

Elias11 by Giga Expert
  • 3388 Views
  • 2 replies
  • 1 helpfuls

Resolved! getreference

Hello,First attempt at scripting:I am trying to write a client script within a Variable Set that returns the current logged in user Floor, managed to get Location, Department etc working as these have pre-built methods:Floor is a custom field that ha...

Ashley by Mega Sage
  • 3425 Views
  • 7 replies
  • 4 helpfuls

How can I learn integration from scratch?

Hello Members,I want to learn integration from scratch. I would require your suggestions on this.I have a scripting experience with JavaScript and Powershell, I have spent time on languages like c, c++ in my academic years so I am aware with programm...