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

Forum Posts

Background Script - to remove roles from users

Hi, I need assistance to remove a role from multiple users. I have got a list of the users that need to retain the role, but I don't have an option of "is not one of" to build a query for an encoded list. any recommendation on the best way?   Thanks,...

Lucy10 by Tera Contributor
  • 2849 Views
  • 5 replies
  • 1 helpfuls

Unable to display more than 10000 records in lookup selectbox

I created a Lookup select box, it displays only 10000 records , there are more than 10k records i doesnt want to use reference field since i need to display the userid from the sys_user table(and i even doesnt want to change at the sys_user table lev...

Prem13 by Tera Contributor
  • 2481 Views
  • 3 replies
  • 1 helpfuls

Resolved! How to set Import Set Row in a warning log ?

Hi all, In an 'Onbefore' transform script, we log warnings and it works fine except that the Import Set Row is empty, we are expecting to find there reference to the Import Set on which the transform script ran.   The transform script is used to ign...

find_real_file.png find_real_file.png

Resolved! Two while loops within one GlideRecord query

Dear Community, a simple question from a newbie. I was asked to copy/paste bookmarks from one user to another and I was successful with that, however, I came up with one question. Why two 'while' loops can't be executed within one GlideRecord query? ...

find_real_file.png

gs.eventQueueScheduled method in Scheduled job

I have created a job which must trigger everyday at 10am. Notification needs to be triggered in exact 24 hours after approval triggered and if the approval is still in requested state. But unfortunately gs.eventQueueScheduled is not working . Every t...

find_real_file.png
Anagha Rane1 by Kilo Contributor
  • 15161 Views
  • 2 replies
  • 4 helpfuls

Formatting confirm dialog pop-up boxes

Our team has onSubmit client scripts that bring up a confirm pop-up dialog box: var action = g_form.getActionName(); if(action == 'submit_revision') { var submit_answer = confirm('Please confirm that all supporting documentation is attached to thi...

find_real_file.png
yundlu316 by Kilo Guru
  • 2574 Views
  • 4 replies
  • 3 helpfuls

Resolved! How can i connect the a workflow to subflow?

which activity i should use in parent workflow to call subflow.My requirement here is i need to create on task on change request which will   have the approval. so i created a subflow(workflow) on change task table. now i am trying to connect this wo...

Order guide variables to be passed to sc_request

Hello folks, is it possible to pass the variable values given during the first stage of an Order Guide to the subsequent service catalog request(sc_request) that gets created ?This is for a New Starter order guide which has a few variables like Depar...

ramak by Giga Expert
  • 7259 Views
  • 14 replies
  • 6 helpfuls

Database Views Variable Prefixes Underscores and/or Periods

I was building a database view and ran into the following error "Syntax Error or Access Rule Violation detected by database (Unknown column 'r.u_resolved_by' in 'on clause')" After checking on permissions and validating that the field was indeed part...

Ryan153 by Giga Expert
  • 3284 Views
  • 7 replies
  • 0 helpfuls

Resolved! Multi-Row Variable Set Not Displaying Properly in Catalog Task

So I have a tricky Catalog Item/Workflow I am working on.  I need to create and pre-populate a Multi-Row Variable Set (MRVS) from a data table we have in ServiceNow.  Our ultimate goal is to have this display only on the Catalog Task that the Workflo...

find_real_file.png find_real_file.png find_real_file.png
jmiskey by Kilo Sage
  • 9496 Views
  • 12 replies
  • 3 helpfuls