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

Forum Posts

Resolved! Create Application Menu's dynamic module

Hi experts,I have read some other posts about dynamic module within the Application Menu, but none of them help me solve my problem. 1. I have a list of Skill Evaluation Submission. The Submission's fields are as below: 2. I have 3 groups which are: ...

quangminh_doan_0-1675000296368.png

Rest message response.status

Hello @ Ankur / Saurav11 Hello Exports,we have created rest message for add the users on ADM group, our script is working fine for success.but if users not added also we are getting the success.how do i achieve this based on response.status.if condit...

akin9_0-1675308956959.png
akin9 by Tera Contributor
  • 1032 Views
  • 4 replies
  • 0 helpfuls

onSubmit Client Script not submitting the form

I have a very simple client script on the cmdb_ci table to make the Model ID field mandatory when creating a new CI record. See attached screenshot and see below for the script:function onSubmit() {//if it is a new CI record, then make the Model ID m...

Anmol Azhar by Tera Contributor
  • 951 Views
  • 1 replies
  • 0 helpfuls

Dependent Catalog UI Policies

I have a bunch of variable on my Catalog Item, but I have two in particular I want to focus on.  Let's call then "varA" and "varB".  "varA" is only to be displayed if a whole bunch of conditions are met.  "varB" should be displayed if (and when) "var...

jmiskey_0-1675367151201.png
jmiskey by Kilo Sage
  • 1245 Views
  • 3 replies
  • 0 helpfuls

Resolved! Splitting the string

Hi,My requirement is to copy whatever is available after '(Additional comments)'. Eg:2023-02-02 21:08:06 - Arun Vbcd Efghj - 23565645 (Additional comments) kkkkkkkkkkkkkkkkkkkkIn the above example I'm looking to get only 'kkkkkkkkkkkkkkkkkkkk'.Please...

Arun96 by Tera Expert
  • 1562 Views
  • 2 replies
  • 2 helpfuls

Resolved! How can I remove leading zeros?

Hello all, I have a requirement to remove the leading zeros from a string variable on a catalog item. The variable ('kronos_id_1') is populated using the onChange client script that follows. The employee_number may have up to five zeros preceding the...

TEdwards by Mega Sage
  • 4028 Views
  • 8 replies
  • 6 helpfuls

How to break line (new line) from a string

Hi all/ @jaheerhattiwale,  I have one string where I have stored glide record information like this 1. Jack Hawksworth 2. Kyle Toon 3. Mario Sever 4. Nikola Pintaric .  But we would like to change it as below1. Jack Hawksworth 2. Kyle Toon 3. Mario S...

Joshuu by Kilo Sage
  • 814 Views
  • 1 replies
  • 0 helpfuls

Resolved! User in group email not receiving emails from ServiceNow

Hi Community, I have a situation, where user in a group email( attached screenshot) not receiving emails from ServiceNowI've checked the notification is enabled in user record and ServiceNow is sending emails to the group email.for individual updates...

Community Alums by Community Alums  
  • 2366 Views
  • 3 replies
  • 1 helpfuls

Resolved! Create a UI Macro button on incident form

Hi All, I have a below requirement. We need to add a button beside caller and configuration item fields on incident form.And when we click on this button it should display the location table information for caller and CI. For example, for caller fiel...

Joshuu by Kilo Sage
  • 4834 Views
  • 21 replies
  • 3 helpfuls

Resolved! How to compare glide records of 2 different tables and filter data

Hi All, My requirement is to get the list of users who have not submitted time sheet for this week 1. I am getting list of users who are active and who has timecard_user role in sys_user_has_role table var timecardUsers=new GlideAggregate('sys_user_h...

Talya by Tera Contributor
  • 1426 Views
  • 4 replies
  • 1 helpfuls

Resolved! Is it possible to join two arrays this way?

Hello guys, Is it possible to join two arrays this way? var arr = [ "test1", "test2", "test3" ]; var arr1 = [ "test4" ]; I need to join two arrays like this: var arr2 = [ "test1", "test2", "test3" , "test4"];