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

Forum Posts

business rule "mark closed" on task table issue,

We have a business rule mark closed on task table with condition (current.state.changes(3)||current.state.changes(4)current.state.changes(7)) which make current.active = false.But this BR is affecting Incident and Change applications. When incident s...

Raviteja K by Tera Expert
  • 2204 Views
  • 3 replies
  • 0 helpfuls

Resolved! Are Jelly scripts being phased out?

I have heard that Jelly scripts are being phased out in favor of Angular.js.   Is this accurate?   And if so, is it limited to any particular sections or is it just in general?

S A Martin by Tera Contributor
  • 2082 Views
  • 6 replies
  • 3 helpfuls

Resolved! Script include boolean always received as true even when its false

Hi All,I have a script include that has a number of GlideRecords to check or set field values on incident and change.One value I am passing is the CR planning requested flag and if it is true do this else do that. The problem is that the value always...

E_19 by Giga Expert
  • 1990 Views
  • 3 replies
  • 3 helpfuls

Exporting attributes of CI class into Spreadsheet

Hi,My colleague doesn't have admin rights to see attributes of various CI classes. So, he is looking for me to walk him through each potential class that he is looking for. For example, if he plans to track windows servers specifically, I have to go ...

prudhvig by Tera Expert
  • 2318 Views
  • 2 replies
  • 3 helpfuls

Resolved! Difference between new GlideEvent vs gs.eventQueue?

I'm noticing on this docs page  Map with transformation event scripts  that there are code samples that appear to be creating events via a  new GlideEvent  call, but I haven't been able to find this in use else where.  What is the difference between ...

Nia McCash by Mega Sage
  • 3052 Views
  • 3 replies
  • 2 helpfuls

Resolved! Undo changes to "Service management" page

Hi,As per "CMS training" on servicenow website, I made some changes to "Service management CMS" page which I want to revert back to originalChanges are captured in the default update set but there is no related link to revert back to previous version...

updateset.JPG find_real_file.png
ShishirG by Kilo Expert
  • 3348 Views
  • 6 replies
  • 0 helpfuls

Resolved! Override Dependent Field

In our instance, the Location field on the task table is dependent on the Company field.   However, in Projects, we want to be able to associate the project to other Companies, but want the location to be restricted to one of our company locations, n...

kchorny by Tera Guru
  • 3715 Views
  • 4 replies
  • 0 helpfuls

Resolved! The email client is not updating 'sys_updated_on' field

Hi,I have an issue that, when an email is sent using the email client, the 'sys_updated_on' field is not updated with the date/time of the update. The activity is updated with the correct date/time, but this is not reflected in 'sys_updated_on' - i.e...

SP widget: get data from table

Hi,in my widget I need to load all records   - 2 fields (e.g. name, surname) from table (e.g. Person)My client script:c.server.get({   action: "getUsers"   }).then(function(response) {   console.log(response);   });My server script:if (input && input...

stryker129 by Mega Guru
  • 3028 Views
  • 2 replies
  • 0 helpfuls

Resolved! Send an email 1 hour prior to a date/time in a record

Hi. I am trying to set up an email notification that will be sent to the assignee of a change 1 hour prior to the planned start date. To do this I've attempted to create a Scheduled Job that runs hourly, checks for records where the planned start dat...

Resolved! Query sc_req_item

Hello,I need to query sc_req_item from sc_task,   I tried different combinations but I could not make it to work. Could someone please assist.var current_cat_task = g_form.getValue('number');var gr = new GlideRecord('sc_req_item');gr.addQuery('sys_id...

JLeong by Mega Sage
  • 2889 Views
  • 2 replies
  • 1 helpfuls

Resolved! Wait for Condition not triggering - Custom table

I have extended both the request and the requested item tables to create two new tables: position and required item, respectively. This is to allow people to define what catalog items are required for new hires so we can automatically script creation...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png