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

Forum Posts

Resolved! Copy content from one Article body to another KB article body

Hello all, I am wondering if there is a way to copy the content of one KB Article body to another KB Article body on update. When a user updates the Service Desk KB, the corresponding Self-Help KB should also get updated withing the Article body.  I ...

Maxwell3 by Kilo Guru
  • 2589 Views
  • 3 replies
  • 2 helpfuls

Resolved! ATF: Click Component (Custom UI) Problems

We just started using the "Click Component (Custom UI)" step today, to click a button on a custom page we made on the Service Portal, and we have been having a ton of problems with it.  It seems to be very unreliable/inconsistent.  I am not sure if w...

jmiskey by Kilo Sage
  • 7397 Views
  • 8 replies
  • 2 helpfuls

Resolved! Querying servicenow incident table

Hi  I have following requirements on service now Incident table 1.I need to get the records based on the caller field(I could able to get using created by filed but not with caller) var gr=new GlideRecord('incident');//gr.orderByDesc('sys_updated_on'...

Phalguna by Mega Contributor
  • 5112 Views
  • 3 replies
  • 1 helpfuls

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
  • 2711 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
  • 2322 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
  • 14833 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
  • 2334 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...