We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Scheduled Job to close table records

Hi, I need to make scheduled jobs to close records for 2 tables.I tried for 1st table with below codes, it works. var transaction = new GlideRecord('x_shlt_shinsei_request_transaction');transaction.addQuery('active', 'True');transaction.addQuery('sub...

HaowenX by Tera Contributor
  • 1480 Views
  • 7 replies
  • 1 helpfuls

Resolved! Count of Incidents Reassigned from a specific group

I am trying to create a report that will show me incidents that were initially assigned to "ABC" assignment group, but they were reassigned to some other group.I do not care what assignment group the incident was reassigned to.I want to know ONLY the...

Amber Anten by Tera Contributor
  • 3227 Views
  • 9 replies
  • 3 helpfuls

Pre-populate a custom field before the action.

I created a service catalog using flow designer. The requirement was to have a label the approver type per approval level. The logic is there will be 5 layers of approval dependent from multiple tables. So what i did is to create a custom field in th...

ronini by Tera Contributor
  • 998 Views
  • 4 replies
  • 0 helpfuls

UI Action Delete Single Incident Record

Hi Devs, I'm a beginner and learning ServiceNow, it's functions & Scripts. I'm trying to create a UI Action button in PDI to delete a record but when I tried. It deleted all the incidents which was created earlier. Can someone please help me on this?...

DanasekaranH_0-1742037251983.png DanasekaranH_1-1742037283143.png
DanasekaranH by Tera Contributor
  • 1120 Views
  • 3 replies
  • 2 helpfuls