We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! Passing JSON Response to Widget in Correct Format

I have developed a Widget based on many of the examples available in the community that displays results from an external REST API call. The widget reacts appropriately (it updates based on the selection in a field on the form), but I am having a dif...

find_real_file.png
bdsibert by Tera Contributor
  • 3954 Views
  • 7 replies
  • 0 helpfuls

Resolved! Database View select data from 2 tables

Hello, I've been struggeling with this issue for a long time and can't find a fix - I need to create a report based on the Problem and Incident tables. All I need to do is create a database view with the records listed from incident and problem - wit...

Piotrekek by Kilo Explorer
  • 3585 Views
  • 1 replies
  • 0 helpfuls

Resolved! Filter out Records hidden by ACL

I used an ACL to hide Employee Fields from a basic Employee on our Employees Table Here's the ACL Condition Script Here's what the Basic Employee sees on the Service Portal How can I write a filter to the Data Table from Instance Definition Widget ...

find_real_file.png find_real_file.png
Pablo Lopez by Kilo Contributor
  • 1690 Views
  • 1 replies
  • 1 helpfuls

Resolved! Restrict values in a reference field based on user role

We have the Service field on our incident form.  One of the services in the table is "SAP".  I want to restrict the selection of SAP as a business service in an incident to only those users that have the role "sap_authorized_user" (this is a new role...

Resolved! Mandatory fields have different colored asterisks.

On my record producer I have a several mandatory fields. Generally a mandatory field has a red asterisk. Some of the fields mentioned below have red and grey asterisk both. Expected behavior- All fields should have red asterisk. Once the field is fil...

find_real_file.png

Resolved! Add a schedule lookup for client script/script include

I apologize for the long post.  I'm trying to add a schedule into my current script include and can't seem to get it working correctly.  I need to look at a date variable and if it's less than 7 business days, mark a yes/no field as 'yes'.   It works...

booher04 by Tera Guru
  • 2595 Views
  • 8 replies
  • 2 helpfuls

Change Request Approval process

Hi All, We have an Approval process based on Change Request's Assignment group. Which is defined during the creation of the Change Request. However, Change Manager has the ability to change that Assignment group when it moves from Draft to Assess. Th...

manish123 by Giga Guru
  • 5154 Views
  • 2 replies
  • 0 helpfuls

Resolved! Convert duration field to hours where 1 day = 8 hours

Hello, I have a duration field called 'days'. I need to convert the number of days into hours and then set a separate integer field to that number. 1 day should = 8 hours. Example: The user enters 5 days and presses submit, the after insert business ...

JJG by Kilo Guru
  • 2196 Views
  • 9 replies
  • 1 helpfuls

Resolved! How to archive an article in knowledge base

Hello, I am currently preparing the implementation of SN Knowledge Management. Is it possible to archive an article? If an article has not been viewed for a year, for example, can it be archived? I didn't find anything in the documentation or the com...

Peter Nowak by Mega Contributor
  • 3609 Views
  • 3 replies
  • 2 helpfuls