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

Forum Posts

Client Script that runs on every page

Hi,Is is possible to run a client script on every page? A global client script that could be run. Is it also possible to also have a global business rule ..one that does't require you to set a table?Thanks

gaz624 by Mega Contributor
  • 3104 Views
  • 10 replies
  • 2 helpfuls

Resolved! Unable to Checkout the Published Workflow

Hi Friends!!!!I have created a workflow on Requested Item[sc_req_item] table.I have published the workflow.I had a requirement to add approval groups,for that I checked out the workflow.I added the group and published the workflow.Everything was work...

ramyashree by Giga Contributor
  • 3961 Views
  • 7 replies
  • 5 helpfuls

Re-sizing a reference variable width in the item and/or task

Hello,         I found an article on how to re-size a reference variable in the catalog item. Here is the link https://community.servicenow.com/thread/177647Here is the code usedvar myVar = $('sys_display.' + g_form.getControl('<variable name>').id)...

A523 by Kilo Contributor
  • 3270 Views
  • 17 replies
  • 2 helpfuls

Condition to Check for Item's Category on Approval

Hi All,I have a scheduled job that runs daily to issue approval reminders for outstanding requested item approvals. I now want to split this job to issue one email notification for item's under Hardware category and other for all others.The issue is ...

Sofija by Giga Expert
  • 2202 Views
  • 12 replies
  • 0 helpfuls

Resolved! Javascript in condition doesn't work

I'm trying to make a ui policy where some fields becomes read only if the user isnt a "manager" on the knowledge base that the article is connected to.I'm doing like the picture below, but can't get it to work, no idea why.If I try this script in scr...

ui policy 1.PNG

script for date and date/time fields

Hello,I'm having an issue creating a script to set a date field based on a date/time field. This is the part script that I'm trying to use:function createChange(){   var change = new GlideRecord('change_request');   change.initialize();   change.setV...