Display Business Rule
Hello, I am looking for a way to conditionally display or hide returned fields on the server side.The situation: When an incident record is viewed, I would like to hide the caller name if the viewer...
View ArticleHow to get fields from table sc_request with no 'itil' role
Hi, I'm creating a script on Self-Service>My Approvals, on the script I'm querying the sys_id from the table sc_request to get the Short Description field, here is part of the script: Client Script...
View ArticleAutoAssign from UI Action
Currently (in our instance) when you select a Configuration item on an Incident it uses a client script to autofill the assignee and assignment group based on attributes of the CI chosen. We have a new...
View ArticleTransform Map: How to create multiple target records from single source record
I have an Excel Source file which has a field (column) that contains a comma separated list of items. I need to create a record in the target table for each item listed in the comma separated list.For...
View ArticleAutoComplete to work on refernece field created on UI page
Hi,I am trying to create a reference field(that points to cmdb_ci) on the UI page and enable the same to search other fields on cmdb_ci while the user is typing. Ideally i should be able to use...
View ArticleIncident "Review" Logging
Sometimes technicians will go into an incident, decide they don't want to work on more difficult issues, and back out of the record. Other times, technicians or managers are reviewing an incident, but...
View ArticleUsing a script include from a client script
Hi All, I'm having an issue, I think I'm doing something wrong. I have a script include which I'm using to build a Reference Qualifier string (which works as expected), the issue I'm having is that I...
View ArticleAdd users dynamically on an email notification
HI, I'm trying to add some users dynamically on the recipient TO for an email notification through an email template, is it possible? I've tryed with the examples here...
View ArticlePause SLA in Incident if status is in Awaiting Vendor
How do I pause SLA for incident if we change status to Awaiting Vendor? I know its in a Business Rule but not 100 percent sure what script I need to put in for it to work. Please advise..Thanks, John
View ArticleHiding reference (Magnifying glass) on Service Catalog for all fields or...
I am trying to figure out a way to hide the reference magnifying glass icon on the Service Catalog. I know how to use jquery or getElelmentByID; and it works on the incident form and other forms; but...
View ArticleHow to sort the reference lookup list
Hello,How can we sort the reference lookup list (popup window that appears when we click on magnifying glass) alphabetically? As an example , i have a reference field that references User table, on...
View ArticleSurvey expirations
Hello,How can we make a survey "expire" after 14 days if the user doesn't go into the system to take it? If the user goes into the link the email notification on day 15, we don't want the link to work....
View ArticleChecking to see if (and when) a field on a table was changed
I am trying to write a script that will scan the entire user table for any record updated in the last thirty days (but only if the last name was updated) and excluding new records.I know that audit...
View ArticleTrying to hide a field from users with admin role
I have an open incident with SNC support. They've been helpful, but I figure I try attacking this from multiple fronts. :)I'm trying to hide a field (simple text field) from everyone (including admin...
View Articlee-mail notification + advanced condition + 'does not change'
Hi there,I am currently working on updating e-mail notifications for our problem management application. So far the general idea has been obtained, but details need to be ironed out.Currently: 1....
View Articlejavax.xml.ws.WebServiceException: java.lang.IllegalArgumentException: Cannot...
I am attempting to invoke a custom ServiceNow Scripted Web Service from a JBOSS ESB. I am using the following static WSDL:========================================================<?xml version="1.0"...
View ArticleHow to check difference from todays date to 30days back
Hi Friends, Need a help. i am scheduling a job on "Task Survey" form to check the field "Requested Date" and set the value of field "State" to Cancelled. for example if Requested Date is "05/30/2013",...
View ArticleInbound Email Action Conditions and ELSE
In our SN implementation, we will be needing to have many (around 20) different Inbound Email Action scripts for emails coming in from different systems which need to have Requests created for them,...
View ArticleNeed help in Incident State updation through business rule
Need help in updating incident state based on the update done by the user. if a requester updates the incident it should be set as Customer updated and if any person from the assignment group updates...
View ArticleDate Filed scripts
Team, can you please help with Date scripts1.if i want to check the date entered in a date field should not be less than today's date 2.if i want to check the date entered in a date field should not be...
View Article