Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Forum Posts

How to get List of possible options on choice variable field?

HI, I have a select box variable and 'remove' some options via a catalog client script on load.  Now I need to be possible to list the remaining "possible" options via a catalog client script. How to? Was was hoping it works this way ...    var value...

Zod by Giga Guru
  • 11463 Views
  • 14 replies
  • 4 helpfuls

How to get all the choice values in a script

Hi,I am trying to get all the choice option values in a client script to verify whether the choice field has a particular choice option in it,if not I want to create that option dynamically.Could someone suggest me,whether we have any method to get t...

anusha60 by Kilo Expert
  • 13834 Views
  • 5 replies
  • 2 helpfuls

Resolved! getproperty for catalog client script

I have some catalog client scripts that use Hard coded sys ids of groups to compare Assignment Groups on Tasks . How do I replace them with system properties.

Shiva40 by Kilo Expert
  • 4307 Views
  • 4 replies
  • 4 helpfuls

UI Policy Actions list not visible

Hello,I'm trying to hide a form section when a certain condition is met. I created a UI policy and saved it but the UI policy actions list is not being displayed upon saving. I'm using the latest patch of Helsinki. How can I resolve this issue?Thank ...

Validate date field with business days

Hi All, I have a DATE field and I need to validate it such that it difference between the current date and entered date is 4 BUSINESS days.  Eg. if today is 21st August, earliest selectable date should be 28th August. Any value entered before 28 shou...

Rj27 by Mega Guru
  • 5512 Views
  • 5 replies
  • 8 helpfuls

Change font weight and size on a label variable

Hello, We would like to change the font weight and size of a few label variables in one of our catalog items that is accessible from the Service Portal. I've seen several older posts addressing this topic and I have tried an onLoad script suggested, ...

ddemar by Giga Contributor
  • 5223 Views
  • 6 replies
  • 2 helpfuls

How to export instance table data to CSV using REST API

Hello all,   I have some data in an instance that I would like to export to a CSV file using Python and the REST API. I wish to use REST, because there are some rows missing when emailed as a .CSV file. The query gives me 12,000 rows, however, the fi...

find_real_file.png find_real_file.png

Resolved! Need to make the record producer NOT available in the Service Portal - I used "Hide on Service Portal"to true but it still shows up item name in Service Portal search is it possible to hide from service portal search as well? but it should be avail

Need to make the record producer NOT available in the Service Portal - I used "Hide on Service Portal"to true but it still shows up  item name  in Service Portal search is it possible to hide from service portal search as well? but it need to be avai...

B Tejaswini by Tera Contributor
  • 4480 Views
  • 11 replies
  • 1 helpfuls

External Status Page and Monitoring

Hey I'm pretty new to service now but I cant find any documentation on people using an external status page with their service now instance. For example I want to use a page like statuspage.io or any other page that will simply show the status of my ...

ali25 by Kilo Contributor
  • 6267 Views
  • 10 replies
  • 1 helpfuls

Resolved! Call Powershell Script With Function and Parameters

Hello All, I am in middle to completing integration between ServiceNow and ASP.Net Web Service. I already have powershell script which calls this ASP.net web service and returns the response based on parameters. This powershell script has just 1 func...

^EQ being injected by addEncodedQuery after using ^NQ

I'm trying to solve a problem where I get a gliderecord to return: sys_class_name=incident^number=INC0000001-Global OR- sys_class_name=problem^number=PRB0000001 I can write the query as: sys_class_name=incident^number=INC0000001^NQsys_class_name=prob...

Resolved! Script in Workflow Notification

My users would like an email notification come out of a workflow.   That's all fine and dandy.   However, they would like the body of the email to be based on some of the values entered on the service request.   For instance if a field says approver ...

Capture.JPG
stevenm by Kilo Guru
  • 13921 Views
  • 11 replies
  • 3 helpfuls

Resolved! How to Change Widget Title Background Color?

Hello Everyone, I'm trying to modify the title background color of the Announcements Widget. It doesn't have the OOB "Presentation" section of the widgets which you can set the background color as Success, Error, etc.. I'm looking to leave it the sam...

find_real_file.png