We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

Forum Posts

Return the Previous field value using GlideRecord Query

In a Business Rule, we have access to the current values in a field (current.fieldname) as well as the previous values (previous.fieldname). The fields for which we can access the current and previous values are those on the table against which the B...

Changing Mail From and/or Reply To?

Currently we are using ServiceNow's SMTP server for sending out emails. It is causing confusion to our customers when they receive emails, sometimes even mistaking the emails as spam. We were wondering if it's possible to change the mail from alias o...

SC10 by Kilo Guru
  • 7278 Views
  • 11 replies
  • 0 helpfuls

Client script question to show/hide field

I have a field that needs to be shown on an sc_task form. The field should show based on wf_activity and a value in a catalog variable. The script looks like this: function onLoad() {     //Show the equipment to be installed field and make it read ...

Blair5 by Tera Guru
  • 8028 Views
  • 6 replies
  • 1 helpfuls

update in a display business rule

Hi,I have a request from the business :they want that if the service desk enter a comment, the record appears in the list with a specific color (that's easy)But then, if someone from a specific group opens the record, this should put the record color...

brumiou by Giga Guru
  • 3817 Views
  • 10 replies
  • 0 helpfuls

Method overloading check

Hi Everyone,Last time my manager asked me to check if system support Method Overloading concept and I created a business rule with two Methods with different parameters, then I called 1st method in another business rule. but the result was not in sup...

abhijats by Tera Expert
  • 3622 Views
  • 15 replies
  • 0 helpfuls

Lock-out all non-admin users

We have 3 instances (prod/test/dev) and I'd like to lock-out all non-admin users in test & dev. Is there any easy way to do so? Sounds like a routine script or option, but the only unhelpful reference to this is in the post-cloning checklist (User Ac...

Riddel by Tera Expert
  • 3726 Views
  • 5 replies
  • 0 helpfuls

Comparing a date to a date/time in a client script

We have a catalog item that asks a client for a date (start_date). My stakeholders want to warn the user not to pick a start_date prior to today. I can find out what start_date is, and I can find out what "rightnow" is, but I run into trouble compari...

Uncle Rob by Kilo Patron
  • 4649 Views
  • 2 replies
  • 5 helpfuls

Use of SCP or SFTP from mid-server to deliver reports...

I Researched, found and loved the SNCGuru Update Set for scheduled report extracts, Until I installed and understood it. Unfortunately, it only supports FTPS and not SFTP. I could not find where the package ftp4che supported any other protocols.Any s...

tonywelle by Mega Contributor
  • 5317 Views
  • 9 replies
  • 0 helpfuls

Highlight VIP Users

A customer recently asked for a better way to quickly identify VIP users from the incident form without having to add the VIP field to the form. She wanted to somehow apply a style to the caller label or field. I couldn't figure out how to use 'Perso...

Unique Number Generator

Hi All,I want to generate a unique number(prefix+number) for asset tag field in cmdb_ci table.This is achievable using number maintenance. But as I am implementing it in MSP environment, I cant use the same.Because it will generate a unique prefix fo...

rashmi49 by Kilo Explorer
  • 5151 Views
  • 3 replies
  • 0 helpfuls