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

Forum Posts

Resolved! How do I call a script include from the mobile agent?

I have a UI Action to copy a task. It calls a script include with the following code: var copyToNewTask = new u_task_utility(); var newTask = copyToNewTask.copyTask();   When I try to call the same script include from the mobile agent Action, the sc...

kimberlylp by Tera Guru
  • 2127 Views
  • 5 replies
  • 0 helpfuls

Resolved! Linking problem with Standard change

Hello Experts, We have a requirement to create Standard change from problem by context menu. OOB provides two links to create normal and emergency, but not standard change. We have UI action on incident table to create standard change and we tried to...

Search partial text in Service Portal using keyword search

I should like to search partial text in Service Portal using keyword search control.  For example I want to search the CI whose name starts with 'w3server%' instead of 'w3serverX86'.  Analyzing the widget 'Data Table from URL definition', the search ...

polmau by Kilo Explorer
  • 2197 Views
  • 1 replies
  • 0 helpfuls

Resolved! Restrict Knowledge Base Categories on Roles

We have just started to add articles in our KB and with that we have created categories. We have the following structure:ServiceNow > DevelopmentWhat I'm looking for is so that all articles in Development category only can be read by users in admin r...

categories.png

Resolved! Link Child Incidents to Parent directly

Hi Team,On INCIDENT Table, there's a custom field drop-down 'Primary Root Cause' and if drop down value is chosen as 'To be investigated via PROBLEM record' , it automatically creates a PROBLEM record on Resolution of Incident. The problem is if we h...

SN Rookie by Giga Expert
  • 3823 Views
  • 6 replies
  • 0 helpfuls

Bypassing ACL when using inbound action

For change module we have inbound action, which will create change ticket once user will send "BRIDGE CHGxxxxxxxx" in subject. In change we have write ACL for description field, if user have "des_bridge_write" role then only he can update description...

Hafsa1 by Mega Sage
  • 2033 Views
  • 4 replies
  • 3 helpfuls

Does anyone else use Script Includes for code in ACLs

Personally I'd never done it... but I noticed on Patch 4 of Madrid they added an ApproverUtils() SI and it's used on ACLs.  Doesn't this defeat the purpose of ACLs in some respects.  You can now modify who could/couldn't approve something simply by c...

How to give read access only for all the table

Hi All,   I have to give read-only access to all the tables and write access for a few tables, please guide me on how to achieve this. Example: if ServiceNow has 100 table means 90 tables read only 10 tables write access but it should not use the 'ad...

Updated Source deleted by mistake

Hi,Our Update Source was deleted by mistake in production environment, is there any way to recover it without having to recreate a new one?Thank youJulien  

juliencolot by Kilo Explorer
  • 3324 Views
  • 11 replies
  • 1 helpfuls

Template literals in ServiceNow

Hey all, I'm trying to figure out how to programmatically use what in JavaScript are referred to as "template literals."   In other words, if I have a string variable called source that contains the text, "The next change is ${change.number}," and I ...

Dennis R by Tera Guru
  • 8220 Views
  • 6 replies
  • 8 helpfuls

Condition based on system property

Hi, I found problem with condition in UI Actions. I need to show form button only when Task is assigned to group which is one of the groups defined in system property. Is there any way how to make script codition of UI Actions or I'll have to make it...

Patrik by Mega Contributor
  • 2697 Views
  • 2 replies
  • 0 helpfuls