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

Forum Posts

Resolved! Unable to clone

Hi all, id be very glad of a little help with a strange issue.I am trying to clone PROD over DEV .. I have done this before fine. Now when trying to create the clone request record i get the error :Destination returned error, status = 500 The user ac...

Resolved! Difference between UI policy and Client script

Hello! When we need to make a field mandatory, in the initial state we can do it using client script and UI Policy Client script: (on load)if (g_form.isNewRecord()) {g_form.setMandatory('u_field', true); Ui policy:condition --> state is newui policy ...

Search by "Contains" on Service Request

Hello,I have a service request with a variable that I want to search by the user id of a person (this is a reference variable pointing to the sys_user table).  The variable name is called "user_name".  In the variable attributes section, I've added: ...

Sandy7 by Tera Expert
  • 1403 Views
  • 3 replies
  • 0 helpfuls

Database view and query BR question

Hello,I have a database view which combines the tables - kb_knowledge, metric_instance, problem and sys_user. I need to filter the entries in the table based on metric_sys_created_on and present just the entry with the oldest date for each metric_id=...

mpaskov by Tera Contributor
  • 1933 Views
  • 2 replies
  • 2 helpfuls

Resolved! Defining the caller in an inbound action

HelloI'm trying to set the caller of an incident in an inbound action but it's still set to Guest. Yet my user does exist.it's supposed to be simple:current.caller_id = gs.getUserID();This return me a id which doesn't appear to be the sys_id of whoev...

Sebaslag by Giga Expert
  • 1352 Views
  • 3 replies
  • 2 helpfuls

Resolved! How to auto-populate date field on record producer

Hi Community, We are creating a record producer on our Service Portal for hardware return in the office. The form is pretty straightforward and has been easy to make. One of the questions is the date of hardware return. Currently, it requires the use...

find_real_file.png
JordanDR by Tera Contributor
  • 4025 Views
  • 6 replies
  • 5 helpfuls

Resolved! Add Time to a date/time field

Hi Folks, I am getting difference of two dates and the trying to add that to a date/time field, but with no luck . I am able to get the difference but that is not getting added to the field. Below is my code  var cas1 = new GlideRecord('sn_customerse...

only lastest additional comments should send via email

Hi, I have a notification email  configured , for which I am looking for implementation ideas. need solution for :  email should only send the latest additional comments . •If mail is sent to customer  with text ABC( in additional comments ) , ( offc...