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...

when i change my state to resolved , resolution code and resolution notes are mandatory when fill those and try to save it still throws an error that"Data policy exception following fields are manadatory:resolution code and resolution notes " on now

when i change my state to resolved , resolution code and resolution notes are mandatory when fill those and try to save it still throws an error that"Data policy exception following fields are manadatory:resolution code and resolution notes " on now ...

snow34 by Tera Contributor
  • 1239 Views
  • 2 replies
  • 0 helpfuls

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
  • 1532 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
  • 2873 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....

How to show only my approval request to approver

Hello,I am really need of some suggestion regarding [sysapproval_approver] ACL.My understanding is Approver can see only his/her approval requests,currently approver can able to see other requests that came from [kb_knowledge].Please check the attach...

find_real_file.png
Winny by Tera Contributor
  • 1544 Views
  • 4 replies
  • 2 helpfuls

Resolved! How to get parameters from PowerShell to Workflow ScratchPad

Hi,How can I get parameter from PowerShell and store it in Workflow.ScratchpadI can do the reverse, like$fullUrl = '${workflow.scratchpad.inputurl}';but${workflow.scratchpad.inputurl} = $powerShellvariable; \fails. Can anyone please tell me the right...

mallikarjun2 by Giga Contributor
  • 2826 Views
  • 3 replies
  • 1 helpfuls

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
  • 2726 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
  • 2631 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
  • 2303 Views
  • 1 replies
  • 7 helpfuls