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

Forum Posts

Resolved! Getting column value from user table using GlideRecord

Hi, I am trying to get a column value from a table which I created, u_my_usertable, in SN workflow script task. I am new to SN & scripting, I may be doing silly mistake. u_fileid is a column in my u_my_usertable table. Here is my code. var wfname = w...

AGK by Giga Contributor
  • 3609 Views
  • 4 replies
  • 3 helpfuls

Resolved! Request Duration

I want to use a calculated field in the Dictionary Entry. This scripts returns the wrong values. Is anyone experienced with this?   (function calculatedFieldValue(current) { var duration = gs.dateDiff(current.startTime.getDisplayValue(),current.endTi...

Resolved! Diff between Created and Opened

Hi Friends,What is the difference between Created(sys_created_on) and Opened(opened_at) fields in task table. Both captures the date/time when the record is inserted into the task table. On which field SLA gets triggered and do they have any signific...

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
  • 1804 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
  • 2040 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
  • 3160 Views
  • 6 replies
  • 2 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
  • 1781 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...