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

Forum Posts

Resolved! "continue" syntax for Jelly script's "while" looping

Would actually address this question to those with experience in scripting/programming.There are cases when you want to skip to next looping iteration using continue; syntax in programming.What jelly script syntax do you use to do such approach?Examp...

alinatoc by Giga Contributor
  • 2501 Views
  • 1 replies
  • 1 helpfuls

Business Rules for Requested Items and Catalog Tasks

Disclaimer . . . I am NOT a developer but need to perform some developer type tasks that I have no idea how to accomplish.   I am currently configuring the Service Catalog for our Data Governance Office.   I need to create a few business rules, but a...

Resolved! Updating incidents by email

To update incidents on reply emails, if the inc# or watermark is found on the email servicenow automatically updates the corresponding incident.But we have a third party email sender, and requiring to update the incident. The email has a unique ident...

snowtech1 by Tera Expert
  • 3792 Views
  • 6 replies
  • 4 helpfuls

Resolved! invoke UI Macro in UI Page

I have a UI Macro called user_info that stores a bunch of g:evaluate scripts so that I can easily pull data from various tables:<g:evaluate var="jvar_dob">var hr = new GlideRecord('hr_profile');   hr.get('user', gs.getUserID());   hr.date_of_birth.ge...

yundlu316 by Kilo Guru
  • 3406 Views
  • 2 replies
  • 0 helpfuls

Resolved! Restricting user by role to a specific view is not working

I am using the following Business Rule Restrict Form Views by Role - ServiceNow Wiki to restrict users without the ITIL role, to globally be restricted to only views that are "ess".The issue is that it is not working...Looking through the script, the...

SC10 by Kilo Guru
  • 7635 Views
  • 16 replies
  • 1 helpfuls

How to change the length of the input fields

I have a form with a mix of fields, some are long strings on multiple rows. But some are short integers and strings (that come from references) that won't be more than 10 characters. Is there a way I can customize the lengths of the fields? All the f...

mmujica by Kilo Contributor
  • 3036 Views
  • 4 replies
  • 0 helpfuls

Resolved! How to get value of Item variable while quering Requested Items?

In job sheduler i have the following script. I'm querying users from custom table and checking whether they requested item with sys_id =d167ddab5109060018a2e46a281a7158, and if they do, then i want to get value they choose in one of the item variable...

hyperjam by Giga Contributor
  • 12886 Views
  • 5 replies
  • 4 helpfuls

Resolved! Set assignment group based on field value

I have a service Request that I would like to have auto-assigned based on a value from one of the variables. The variable is a reference field called "it_team" and it references the sys_user_group table. can I do this via the workflow, or do I have t...

vcaracci75 by Tera Expert
  • 8729 Views
  • 13 replies
  • 3 helpfuls

adding a hyperlink in client script

Hi,I have written a client script.I want to add youtube link in the short description and add a <name> in it. So, when i click on hyperlink it will rediredt to youtube and when i click on <name> it will get redirect to my user account.SHort descripti...

find_real_file.png
swarnargha1 by Tera Contributor
  • 5375 Views
  • 5 replies
  • 0 helpfuls

Resolved! Relationship between [sc_task] and its' variables

Hi,Can anyone offer a description of the relationship(s) between the tables I have listed?sc_taskitem_option_newsc_item_optionMy goal is to dig out the data presented in a Catalog Task which is the last STAGE of a SHIPPING REQUEST.   This task (as we...

tobrien by Kilo Guru
  • 10464 Views
  • 6 replies
  • 7 helpfuls