Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Forum Posts

Resolved! How to user GlideScopedEvaluator();

We have a script that is running in our Request workflow that evaluates whether a request should be sent to a Director level employee that I would like to duplicate in a scoped application that I am building but the current script doesn't work becaus...

Kyle Wiley by Mega Expert
  • 10100 Views
  • 9 replies
  • 0 helpfuls

Resolved! Approvals

I currently have a process that is using a workflow to drive approval requests.   The requests are being generated on the sysapproval_approver table.   I am trying to understand how this approval is getting kicked off.   Is it just because the "Appro...

sysapp.JPG

database view OR condition

Hello,Can anyone tried to add OR condition in the where clause in database view?(cat_u_category =inc_category && ( cat_u_subcategory =   '' OR   inc_subcategory = '' ) )I have tried this but it is not working. when I removed the OR and replaced by &&...

Community Alums by Community Alums  
  • 5377 Views
  • 3 replies
  • 0 helpfuls

Resolved! Identifying where workflow is used

I inherited an environment where there are quite a few development workflows lying about. I'd like to clean them up, and am fairly confident of the "dead" workflows, but am hesitant to do so   without making sure they aren't still used anywhere.I tho...

brantgluth by Kilo Expert
  • 5364 Views
  • 3 replies
  • 2 helpfuls

Resolved! Reporting on Service Catalog Variables access

Hello Community,Has anyone encountered access issues when reporting on Service Catalog Variables?   As an Admin, I can view the service catalog variable that I added but as an end user the variable does not show within the list of the report even tho...

Admin View.jpg end user view.jpg

Resolved! Nested objects/arrays with ng-repeat on Service Portal

Due to how we're handling data organization, I'm ending up with keyed objects with nested arrays underneath them. After that, we're trying to push that to a table. Example:Server-side:data.element = {};data.element[key1] = [];data.element[key1][0] = ...

nerz by Giga Contributor
  • 6865 Views
  • 2 replies
  • 3 helpfuls

Resolved! Determine inactive records from a transform map

Is there a method to determine if a record is active or not without an explicit field? I have the following dilemma:I have an import file that only sends active records into ServiceNow. The goal is to add the active records into a custom table while ...

KB15 by Giga Guru
  • 5237 Views
  • 9 replies
  • 3 helpfuls

Resolved! Watch list

Hi ,i have added two users in watch list using below script but these users are inactive it will showing in watch list still.Please tell me, if users are inactive how to remove from watch list?(function onBefore(current, previous) {var grpMembers = n...

yuvasena by Kilo Contributor
  • 6198 Views
  • 25 replies
  • 1 helpfuls

Resolved! Transform script for True/False field in Target table.

Hi ,Can some one let me know if my below Onbefore transform script is fine for setting Boolean field(Type = True/False) on my Target table when source field has some data.(function runTransformScript(source, map, log, target /*undefined onStart*/ ) {...

Mrman by Tera Guru
  • 3720 Views
  • 2 replies
  • 1 helpfuls

Resolved! Contextual Search in Service Portal - Workaround

I've successfully implemented the workaround to enable Contextual Searches on the Service Portal listed on the HI Portal PRB692368I've noticed the results that show have links to the knowledge articles which is great.The issue I have is when you clic...

Resolved! How to locate an existing form to copy?....

Hi folks,I'd like to create a new form, however we have several forms that already exist in our service catalog.I think it may be better to copy an existing form, study it, modify it for my own purposes.Let me know if you think this is the best way t...

find_real_file.png
rjp by Tera Expert
  • 4648 Views
  • 12 replies
  • 9 helpfuls

Read access to a custom table in Service Now.

Hi All,This is about making a custom table visible and can read the data within   .I created a custom table for populating data from a 3rd party tool via REST API .Now requirement is to make this table visible to a role called "asset" , this role sho...

find_real_file.png find_real_file.png
Mrman by Tera Guru
  • 8513 Views
  • 21 replies
  • 0 helpfuls