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

Forum Posts

Resolved! onSubmit client script starts on update of a record too

Hi,I have a weird behaviour with a client script that should take place only on a submit of a new record, but it works on update too.The script is very simple:function onSubmit(){       var gr = new GlideRecord('table'); gr.addQuery('key',g_form.getV...

gabrielon by Kilo Contributor
  • 2925 Views
  • 5 replies
  • 4 helpfuls

Deleted workflow accidentally

Hello,I have deleted some of the Workflow actions form a workflow accidentally is it possible to restore a workflow to a previous version without cloning down from prod?I saw one article that said to check in   sys_metadata_delete.list   but I could ...

Woz by Tera Contributor
  • 1359 Views
  • 1 replies
  • 0 helpfuls

Resolved! How to set focus on a Record Producer form?

Hello,I have a Service Catalog Record Producer, with a list collector in the middle of the form.   When the form loads, I want the focus to be at the top of the form, or at least set to the first editable field.   In an onLoad Client Script I tried t...

Capture.PNG capture2.png

Resolved! Workflow not starting

Hi,I'm running into a scenario with a workflow I created not triggering on an update to one of its fields.Scenario1.) Workflow A is kicked off when data is inserted into Table A (Custom Table) - WORKING AS EXPECTED2.) Workflow A updates one or multip...

scottcoen by Giga Contributor
  • 3620 Views
  • 2 replies
  • 0 helpfuls

Need to remove multiple inactive users from groups

Hi All,I have a requirement to remove inactive users who are all more than 15 days from today from the group member table by using scheduled job. I have written a script for this. But whenever I execute it, It removes only few inactive users from gro...

anatara by Giga Contributor
  • 2344 Views
  • 5 replies
  • 0 helpfuls

ACL for List view

Hi All,We have a requirement i.e., restricting modifying few fields in the list view for change request table For this I created a View and created a role.Could anyone help me with the ACL, as to how using the ACL i can restrict modifying the fields ...

sanvi by Tera Expert
  • 8878 Views
  • 5 replies
  • 2 helpfuls

Translate of language in customize service portal

Hello we are using language internationalization through language picker in the service portal.But most of the fields and labels in the portal are customize,So when we are changing the instance language the fields and labels are still in the same lan...

U_verma by Tera Expert
  • 3606 Views
  • 4 replies
  • 3 helpfuls

Resolved! Incident, Application, and Event

Ok, I've bought into the scoped application paradigm.   However, it's giving me fits.I want to make a rest call to an external system after an incident record is inserted/updated.   My approach is to generate an event, and then have a script action l...

gdm1411 by Mega Contributor
  • 1424 Views
  • 2 replies
  • 0 helpfuls

How to disable UI Action in Related List

Hi,I would like to disable the UI Action 'New' on a Related List when a particular field of the main table has a specific value.Have a look at the screenshot below here (in red the Ui Action).I have a table 'Budget' with a related List of 'Budget Ite...

Mod Budget.png
loteodor by Kilo Contributor
  • 11652 Views
  • 19 replies
  • 5 helpfuls

Validating whether a string is well-formed XML

I'm trying to come up with a script for a scoped application that will validate whether the content of a string field is well-formed XML. I was thinking I could call the XMLDocument2 object wrapper and use a try/catch scenario to tell me whether the ...

dclayne by Kilo Expert
  • 3433 Views
  • 4 replies
  • 3 helpfuls

How to hide reports for specific roles.

Hi Friends.I want to hide reports(based on Table) when user try to search...Reports   -->   View/Run   option.I mean the reports should not visible to ITIL and some other users ( in other words the reports should visible only to Demand_admin role).Re...

aarav by Kilo Contributor
  • 2838 Views
  • 11 replies
  • 3 helpfuls