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

Forum Posts

Get all variables on a task form via script

Hey all,I'm trying to do something that may or may not be simple.Basically, we have mandatory fields on our Catalog Tasks for users to populate. Where we're at however, users will pass tasks between each other or try to assign them before populating ...

nickmayo by Kilo Contributor
  • 4331 Views
  • 15 replies
  • 1 helpfuls

Resolved! How to reload a form and its related list?

Hi ,I have written an onsubmit client script to close the open change   tasks if the state of the change request is either closed skipped or closed failed.Here is my client script code:function onSubmit() {     //Type appropriate comment here, and be...

jagarnathn by Tera Expert
  • 4379 Views
  • 8 replies
  • 0 helpfuls

How to revert from UI16 to UI15

So, raising a change to move from UI15 to UI16 we were hit with being asked about a roll-back plan.   I mean who would want to roll-back to UI15 when UI16 gives you so much more flexibility, well my company needs a back-out plan just in case.So after...

find_real_file.png
dave_edgar by Mega Guru
  • 2084 Views
  • 1 replies
  • 0 helpfuls

Resolved! ACL or Client Script?

Hi All,Looking for advice.I have a role called "restricted_vendor_manager".     I created that to exclude the inherited itil role.On our vendor form, I have a related list for locations so they can add the locations the vendor services.   The problem...

find_real_file.png
carlh by Kilo Guru
  • 3479 Views
  • 4 replies
  • 1 helpfuls

ui macro and current record information

Thursday afternoon before a long weekend and I'd said I'd look at something for a colleague and now I regret it We need to show the information from a "source" record, but the usual dot walking is doing some very odd things.- hi ticket loggedI said, ...

poyntzj by Kilo Sage
  • 9652 Views
  • 5 replies
  • 2 helpfuls

setDateNumericValue() function of a GlideDateTime object

Hello,In a business rule, I'm trying to set a date-time in milliseconds to a GlideDateTime object by the function setDateNumericValue().Following is my code:var myDate = new Packages.com.glide.glideobject.GlideDateTime();myDate.setDateNumericValue(my...

by  
  • 4105 Views
  • 2 replies
  • 1 helpfuls

Resolved! Hiding a UI Checkbox in Jelly

I am working on a UI Action that copies a record.   Part of the process is to prompt the user if they want to include related records, in this case Outages.   I have an IF statement built and working, but having trouble finding the right code to hide...

Mike Hill1 by Giga Contributor
  • 3184 Views
  • 5 replies
  • 1 helpfuls

Resolved! Clear out value if field is blank not working

I am doing a lookup to a table to populate a field and this is working but when i remove the value (lines 5 and 6) the field doesnt clear to blank the field i am trying to set to blank is a date field if that maters. It doesnt seem that when the fiel...

Resolved! UI Macro and mandatory fields

Hi all,I have a reference field and a UI Macro button that can send an email to the person in the field.I would like the UI Macro work only if all mandatory fields were populated, and if not they are not filled, to pop up an alert and abort.If all ma...

oharel by Kilo Sage
  • 3511 Views
  • 14 replies
  • 2 helpfuls

Resolved! How do I use the ACL to control the number of results returned in a list? After applying the ACL the pagination still exists for all records in the table and the total count is still displayed.

I have applied an ACL condition to a list for a table but that limits the results properly but when viewing the list you still see the total results for all items in the table and the pagination is still applied as if all results are returned.   Is t...

tharzarob by Kilo Explorer
  • 2298 Views
  • 3 replies
  • 0 helpfuls

Resolved! sys_id in business rules return null

In all of my business rules, I just discovered that current.sys_id is not being sent to the script include the business rule triggers. Here's an example of the business rules I'm using.function onBefore(current, previous) {       //This function will...

moserism by Kilo Contributor
  • 6926 Views
  • 9 replies
  • 1 helpfuls

Resolved! navigating by url

https://hostservice.service-now.com/navpage.do?sysparm_query=number=CTASK0019728 I'm missing something here.Any help?Thanks!

dcox by Giga Contributor
  • 3789 Views
  • 6 replies
  • 3 helpfuls