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! How to query a reference column with an extended column?

I have extended two base tables to add a few attributes for Configuration Compliance. One has a reference to the other. Call them compliance_test and compliance_result. compliance_result has a reference to compliance_test. I want to do query on one o...

Jeff Cassels by Kilo Contributor
  • 2649 Views
  • 3 replies
  • 2 helpfuls

Adding 1 hour to current date is not working as intended

Hi,I have a requirement to set the time from a UI page onto a scheduled job based on the current timescript :(to update the time on the job)var gdt = new GlideDateTime(gs.nowDateTime());var hours = 60*60*1; gdt.addSeconds(hours);and based on this I s...

Manoj82 by Kilo Expert
  • 2667 Views
  • 8 replies
  • 0 helpfuls

Resolved! Compare two date fields & calculate days between the two?

I have a field called "Original Expected Completion Date" that is populated automatically when another field called "Expected Completion Date" is filled in by a user. I need to capture the number of days it took to populate the field by comparing the...

Conditional Mandatory Attachment

I'm trying to require an attachment based on a condition. I have done this in the past for other projects but it's simply not working this time. I have tried a few answers I found from the Community but absolutely nothing is working. I am in the Huma...

find_real_file.png
leahdany by Giga Guru
  • 4319 Views
  • 13 replies
  • 0 helpfuls

Resolved! Widget Buttons to insert the record

Hi All, I am new to Service Portal Development so I need all your help. My requirement is, I need to create two buttons on Catalog item form.   As a part of my requirement I have cloned the OOB  widget(Sc- catalog Item) and added the two buttons in t...

find_real_file.png
Kusuma2 by Kilo Guru
  • 5363 Views
  • 3 replies
  • 1 helpfuls

Resolved! Approving field is empty

Hi,                                                                                                                                               I noticed today that in some of the approval records generated, the Approving field is coming empty in ...

Capture1.PNG
a2gupta by Giga Contributor
  • 4881 Views
  • 10 replies
  • 5 helpfuls

How to use session timeout?

Hi there, The session timeout setting can be found in sys_properties_list.do. And there after I searched for "glide.ui.session_timeout". I have changed the value in from 30 to 2 (which counts in minutes). But after 2 minutes, I was not logged out.   ...

find_real_file.png find_real_file.png
Venkatesh35 by Giga Contributor
  • 3279 Views
  • 6 replies
  • 3 helpfuls

Resolved! Dynamically change image on HTML widget

I'm using the HTML widget as a way to display different logos depending on which company is signed into our portal. The issue I'm trying to resolve is how to actually make this dynamic so that we can use one portal and display the appropriate logo. R...

Christine24 by Giga Expert
  • 4676 Views
  • 34 replies
  • 16 helpfuls

Resolved! Flow designer script on wait for condition not working

I have a flow in which I am creating a REQ/RITM/SCTASK and then trying to wait for all of the tasks on the RITM to complete. Here is the wait for condition I am trying to use: and the script: var tasks=new GlideRecord('sc_task');tasks.addQuery('requ...

find_real_file.png find_real_file.png

Header Menu not displaying in Service Portal

Hi guys,I have created an entry for the header menu below:but for some reason it is not displaying on the menu...I have created menus before for several service portals but i couldn't figure out why this particular one is not working. Have you guys e...

find_real_file.png find_real_file.png

Resolved! Generate a report from a workflow run script

All, On submission of a catalog item I have a workflow that I intend to generate a report from alm_asset and email it to the requester. I've restricted it managers in our organization and setup the report so it contains all assets where assigned_to.m...

Brian24 by Tera Expert
  • 2731 Views
  • 6 replies
  • 2 helpfuls