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! Hiding mandatory fields..

Hi, I'm looking to not display some mandatory fields in certain scenarios. I will fill them with "n/a" just so that the form can be submitted.I've tried this with a non-mandatory field an it has worked ok.                   function onLoad() {       ...

gaz624 by Mega Contributor
  • 8322 Views
  • 16 replies
  • 1 helpfuls

Resolved! Client script for Record Producer

Have variable in my record producer with Field name, u_testchoice, which is a select box with values ("none", "value1","value2",and "value3").When the user sets that u_testchoice field value to "value2", I want my client script to set the record prod...

Resolved! Role needed to view System Definition

Hello all,I have an ITIL user who needs to view System Definition in dev and test instance. Is there a way to provide access without giving them an admin role?Thanks in advance!

gnunez by Kilo Guru
  • 4988 Views
  • 2 replies
  • 3 helpfuls

Include Imported Data in Update Set

I have some tables where I have Data that I want to get promoted between instances as I go from Test -> Prod. For now I have to manually import this data from XML. I'd like to be able to include the data in my update sets instead (once I get to later...

mmujica by Kilo Contributor
  • 3576 Views
  • 2 replies
  • 0 helpfuls

Resolved! Using JSUtil.nil in business rule

I am trying to use JSUtil.nil in a business rule but it does not assign to the group.   If i directly set the assignment_group to group 1 it will insert the record correctly.   Is there a reason JSUtil.nil does not work in a BR?grTest.priority = 2;gr...

Download Attachment

Hi,I am trying to download a attachment from business rule. Because, I want to download attachment when it is created on "sys_attachment" table. Is it possible?The only way I found to download attachment is by using action.setRedirectURL('sys_attachm...

sachin312 by Tera Expert
  • 3173 Views
  • 6 replies
  • 0 helpfuls

Resolved! Change the state of a sc_task

I need to change the state of a sc_task to "On Hold" and change it back to "Work in Progress".How can I change the state of the task? I have created a new choice "On Hold" in Choice list and then I created   UI Actions but the UI Action doesn't chang...

find_real_file.png find_real_file.png

Q: how to activate automatic status change in task boards?

When using Visual task boards, the action OF moving a task from the "To Do" lane, to the "Doing" lane, doesn't affect the status field in the task.I want the status To auto update from status "New" to status "Work in progress", when the task is drage...

johbro by Kilo Contributor
  • 3443 Views
  • 3 replies
  • 1 helpfuls

Resolved! Removing value from list field via business rule

What is wrong with the last section of this script, where I'm trying to remove the company from business services?   This is an after business rule on the core_company table, and runs on update when Active changes to false.   The rest of the script w...

kchorny by Tera Guru
  • 5789 Views
  • 5 replies
  • 1 helpfuls