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

Forum Posts

Resolved! Script not working Script Include and UI Action in Change Request

Hi can you help me on this scenario wherein my Change Request when the state is on Scheduled my Script Include and UI Action should validate and cant proceed if my task is on Open, Pending, Closed State. Then when my state is on Review and i want to ...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
win b by Mega Guru
  • 913 Views
  • 6 replies
  • 1 helpfuls

Script to compare opened time by current time/date

I am looking to update this condition below to compare an incident's opened/created time with the current time. The aim here is to only show a specific option on the widget when the incident is over 5 days old. Current condition: if (data.table == 'i...

Resolved! How to set Set Preference in GlideModel

Hello Team @Ankur  I would like to inform you that below mention code is OBB but I'm not able to understand that how i can get the  sysparm_sys_id_list,caller_table from where .  Please help me .   function createEvidenceForIssue() { var dialog = new...

UpdateSet Commit Order

Hi. I am planning to create multiple UpdateSets and commit them to the validation environment. I had one question, If I create multiple UpdateSets, how do I commit them to the validation environment? Commit in order from the oldest UpdateSet creation...

d-aizawa by Kilo Sage
  • 940 Views
  • 5 replies
  • 4 helpfuls

Resolved! How to call a Flow from another flow

Hi team, Can someone please help me on how to trigger a flow from another flow. I have an existing flow as "XYZ". I have created new flow "ABC" and in the new flow i have a trigger condition and an Action. I have stored the script below in the action...

Hi All, I am working on one of the Order guide form. I have close completed all the RITM'S and also related task but REQ request status is showing Approved.

Hi All, I am working on one of the Order guide form. I have close completed all the RITM'S and related task but REQ request status is showing Approved. but When I close complete all the RITM's then the main REQ states should be close complete right? ...

find_real_file.png find_real_file.png
vinuth v by Tera Expert
  • 508 Views
  • 2 replies
  • 0 helpfuls

Resolved! Schedule job script to get field value from user table

I've  created birthday (u_birthday) field in user table (sys_user) which stores users birth date. I want to send emails to the users whose birthday is in this month only. var users = new GlideRecord('sys_user');users.addActiveQuery();users.query();wh...

Dee S by Giga Guru
  • 1041 Views
  • 17 replies
  • 2 helpfuls

Hiding catalog item field

In the catalog item .I got a requirement to hide a field based on the user business unit and if it belongs to the list of business unit then assign it default value of yes.What approach should i should use Catalog client script or UI POlicy.

Resolved! how to use LIKE in query

Hi,  I have this query and instead of using LIKE and sysid i need to use LIKE and the var product. What is the right way to replacing the sys ID with the variable product? u_allowed_duplication is of a type list and its a reference to a table, so i n...

Alon Grod by Tera Expert
  • 6002 Views
  • 5 replies
  • 3 helpfuls