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

Resolved! Copy comments from RITM to SCTASK

Hi all, I have below BR to copy RITM comments to SCTASK, this comments get copied to all open and closed sctask with below, i would like to change/add text where it says "Task closure note" - how do i change my code? (function executeRule(current, p...

find_real_file.png
Sam198 by Mega Guru
  • 6398 Views
  • 10 replies
  • 1 helpfuls

Resolved! Journal field issue on Scoped application

Hi, When i am inserting Incident from custom table in scoped application, i am getting cross scope error. But i have added cross-scope privileges for sys_journal_field table.. Still i am getting same error. I am using setJournalEntry() where as i dev...

find_real_file.png find_real_file.png

Resolved! auto populate current user and its location

Hi, i have this catalog item with variables- I want auto populate the Applicant's Name field with logged in user and auto populate the location field of the current user with onload action.   what will be the onload client script? Thank you.  

find_real_file.png
sp_18 by Giga Contributor
  • 14299 Views
  • 10 replies
  • 11 helpfuls

Resolved! Uncaught SyntaxError

I have this Business Rule that keeps returning the follower error and I can't figure out what's wrong:  "Uncaught error: SyntaxError: Unexpected token: u"Here's the code:(function executeRule(current, previous /*null when async*/) { // Add your code ...

Bobby20 by Giga Contributor
  • 5671 Views
  • 13 replies
  • 1 helpfuls

MRVS ReadOnly

Hello All,   I have a MRVS which i want to make it readonly with edit/add/remove all buttons disabled. g_form.setReadOnly('mrvs_name', true); doesnt work. Any idea how to achieve this?   Thanks, VNK

Resolved! Mandatory fields - UI Policies and Service Portal

Hi, I understand (from other post on the forum) that when using mandatory fields on the Service Portal with a record producer these now need to be removed and replaced with a UI policy on the target form to prevent a submit failure. We have a record ...

LG21 by Giga Contributor
  • 5897 Views
  • 7 replies
  • 2 helpfuls