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

Forum Posts

I want to make a language dependent UI Action Message.

Hello! I have this UI Action message: gs.addInfoMessage(gs.getMessage('have_been_deleted')); I want to make it language dependent. For example, if I change the language to GER, then the UI Action supposed to show the german version of that message ab...

Can i make a timeout in Scheduled script?

Hi everyone, my question might be in the wrong category, pls moderators - move it in the right place.   I'm having a scheduled script and as we all know - its executing his script on server side.   var evt = new GlideRecord('sysevent');    evt.initia...

Resolved! How to create metric report for HR case records

Hi All, I want to create metric report for HR case records. with below condition. Whenever HR case changes to suspended state we need to create metric report.  and the report should contain following fields in the list view. .Number, short descriptio...

find_real_file.png
ramesh_r by Giga Sage
  • 1664 Views
  • 1 replies
  • 0 helpfuls

Custom component fails to deploy

Hi, Can someone please tell me what I did wrong while deploying my custom component, using Servicenow CLI, to a Sandiego dev instance? See the attached snc-create.txt for all creation output which I copy/pasted from gnome-terminal.There was no errors...

2_71828 by Tera Contributor
  • 3326 Views
  • 4 replies
  • 0 helpfuls

Resolved! Access variables of record producer from Business Rule

Hi All/ @Ankur Bawiskar , We are trying to access record producer varibles value using Business Rule. But we are not able to get the values. Please guide me. Async/Update BR. We submit the Record Producer after that record is creted respective table....

Resolved! Script include function to check old vs new value on form

Hello everyone, I have a requirement to code a function in a Script Include to be able to check what has been changed on a form (only custom added fields). Every solution I've tried so far also prints info like "sys_updated_on" and some other solutio...

Robin30 by Tera Contributor
  • 3072 Views
  • 5 replies
  • 1 helpfuls

Resolved! Upload error with .dotx attachments

We have a list of approved file extensions for attachments in ServiceNow System Properties > Security, with MIME checked of as true and the same list in the glide.attachment.extensions. We are having issues where anyone trying to attach a .dotx file ...

Stacey9 by Mega Guru
  • 3121 Views
  • 4 replies
  • 2 helpfuls

getMissingFields and mandatoryCheck aren't work on Workspace

Hello All.Anyone know if function g_form.getMissingFields() and g_form.mandatoryCheck() aren't available on Agent Workspace? While executing a function, the system throws console error: "SCRIPT:EXEC Error while running Client Script "GlideScopedScrip...

Erica by Tera Guru
  • 2539 Views
  • 1 replies
  • 7 helpfuls

Resolved! How to redirect to a page on a button click?

Hello All, I want to redirect to a page after the user clicks on submit button.   HTML: <button type="button" class="btn btn-primary" ng-click="updatePrice(catalogItemValue.sys_id,myInputModels)" >SUBMIT</button>   CLIENT: function($scope, spUtil) {...

Reddy by Kilo Sage
  • 6602 Views
  • 2 replies
  • 5 helpfuls

Resolved! ATF for Service Catalog Issue?

I'm setting up ATF for Service Catalog. In my 2nd test I using the UI 16 interface to open a request using the service catalog test steps. Up to step five seems to work fine when watching the client test running. My Steps Are: Create a user.Create a ...

brianlan25 by Kilo Patron
  • 3322 Views
  • 8 replies
  • 0 helpfuls