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

Forum Posts

Filter a lookup field by logged in user

I thought this would be easier in some way but I think it's more complex than I thought.I have a custom table that has rows of business units associated to employees via employee IDs. I need to be able to filter all the results in a look up select bo...

KB15 by Giga Guru
  • 3159 Views
  • 4 replies
  • 0 helpfuls

Resolved! getFields is not available in scoped apps

I would like to duplicate a record before further processing it but I don't want to create it by hand identifying each field name and copying it over.   Instead, I would like to iterate through all the items.In non-scoped apps you can use getFields f...

How to call an AJAX Script Include from a Business Rule

I have a client script that uses AJAX to call a script include to do a validation check. This is working from the Client script. I want to re-use this code to also run the same validations from a Business Rule. How would I structure the call from the...

leslie8 by Mega Expert
  • 8495 Views
  • 4 replies
  • 6 helpfuls

Resolved! copying worknotes and comments from child to parent.

when agent enter work notes or comments in TASK it copies to its RITM, is it possible to copy the same comments/work notes from TASK to REQUEST.I have written script in BR(function ExecuteRule(current.previous /*null when async*/){var gr=new GlideRec...

gtk by Mega Sage
  • 6078 Views
  • 5 replies
  • 3 helpfuls

Set Date/time field value on UI page

I have created a UI page and on UI page there are two date/time fields.When any user selects in "From Date" or "To Date" field. Date should remain as it is but Time should round up to "00:00:00".For example if user selects value in Date/time field 17...

find_real_file.png
sajan2 by Mega Contributor
  • 4095 Views
  • 2 replies
  • 1 helpfuls

Resolved! json parse check the array if it is null or undefined

bawiskarHello All,How can I parse the json and check whether it has null value or 'value' is not added..e.g.,When the value is null [{"number":0,"fields":[{"min":100000,"max":9999999999,"label":"","type":"number","value":null}]},{"number":1,"fields":...

salu by Mega Guru
  • 8143 Views
  • 4 replies
  • 1 helpfuls

UI Action - Showing error message on reload

Hi,I need to show an error message after clicking the UI Action button. It's displaying the error message but disappearing after 1 second.How to show the error message after refreshing the page ?ThanksRam

naresh831 by Tera Contributor
  • 1919 Views
  • 4 replies
  • 0 helpfuls

Data Lookups and businesss rules

Hi All,I have got a requirement to set priority value based on Impact and Urgency for Problem table. I have implemented using data lookups. I am curious to know what happens if I write business rule for the same with few modifications? Will the busin...

poojithac by Kilo Contributor
  • 1829 Views
  • 4 replies
  • 1 helpfuls

background script

Looking to do some house keeping. We have to Query all RITM's that are in fulfillment or fulfilled stage and fulfilled (u_fulfilled_time) time is empty. From RITM we need to query the associated catalog tasks (sc_task), where state is 'work complete'...