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

Forum Posts

Resolved! Delete attachment via a scoped scripted web service

Hello,I am stuck at a weird issue where I am not able to delete attachments via web service(SOAP) calls.Some Setting:1. The Scripted web service is in a scoped application.2. I am able to create attachments from the scripted web service, but cannot d...

httpEffect 502 Bad Gatewat

Hello, I have written a component which I am using to pull back 10 incidents just to get my head around components and such. I followed this guide but it was riddled with errors ->   https://developer.servicenow.com/dev.do#!/guides/orlando/now-experi...

find_real_file.png
Woz1 by Giga Contributor
  • 1603 Views
  • 2 replies
  • 1 helpfuls

how to get key and values in an object

var obj = {    prodUsers: {        "aatest15": ["test016", "Test Automation 2"]    },    nonProdUsers: {        "aatest14": ["test016", "Test Automation 2"]    }};In this object aatest15 and aatest16 are users, test016 and Test Automation 2 are group...

Resolved! Timers - how to force a timer to go through before the end

Hello everyone,   I currently have a workflow the leverages 1 day timers which after 1 day, it checks to see if a field is populated, then creates a task if it is. Let's say that field is populated within the first 3 hours of that timer, how can we f...

brandong by Kilo Contributor
  • 3581 Views
  • 8 replies
  • 6 helpfuls

Ways to use getMessage()

Recommended way to use getMessage() is  var message = gs.getMessage("This is the message with params {0}", param); gs.addInfoMessage(message); Alternately, it can also be written as  var message = "This is the message with params {0}"; gs.addInfoMess...

Krishna119 by Kilo Contributor
  • 11115 Views
  • 5 replies
  • 0 helpfuls

Resolved! Cannot set Unique in sys_dictionary for custom field

Hi, I have created a new custom field in cmdb_ci_service table and want that to be unique . I am trying to make the Unique filed as TRUE but it does not takes and not updating keeps as FALSE. I have checked all records though is my new instance there...

SNowUser11 by Kilo Guru
  • 1611 Views
  • 9 replies
  • 5 helpfuls

Resolved! How to apply dynamic filter to reference field in UI Page.

Hi Everyone, I have requirement to apply dynamic filter on reference field in UI Page. I have managed to access that variable value in client script of that UI Page but I am not sure how to access that  value and apply dyanmic filte to reference fiel...

Abhijit4 by Mega Sage
  • 4125 Views
  • 8 replies
  • 2 helpfuls

Pushing an update set to another instance

My requirement is to push completed update from my instance to another instance(suppose client instance).pulling(retrieving) of completed update from one instance to another instance is available OOB. i just want to reverse this proccess.Has anyone c...

Password Generator utility

Hello! Let me introduce a small utility might be helpful for some of you. Sometimes you need to reset passwords for multiple users in your environment. F.e. for users that have been locked out or for all active users in one particular department. In ...

PasswordGeneratorGeneral.png PasswordGeneratorHowToStep4a.png PasswordGeneratorHowToRandomizer1.png
Kostya by Tera Guru
  • 3317 Views
  • 3 replies
  • 0 helpfuls