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

Forum Posts

Resolved! Unable to Call script include in filter condition

PFB Script include var Test = Class.create(); Test.prototype = { initialize: function() { }, ApprovalNotCome : function (){ var arr =[]; var gr = new GlideRecord('sys_user'); gr.addEncodedQuery('roles=approver_user'); gr.query(); while (gr...

GaneshPalve_0-1726756122825.png

Resolved! Record Producer with a fillable PDF widget

Hi,I have a requirement to create an interaction/case from the CSM service portal, in this record producer I need to give the user a pre-filled PDF, and keep the ability to keep filling the rest of the PDF, after the user has completed that then this...

rp_fillable_pdf.jpg rp_generated_fillable_pdf.jpg

Resolved! Replace keyword/phrase with pre-defined script

I have not used it for years, but now may have a requirement to.There is a feature in Servicenow where you can type something like {my_script} into a Script field in servicenow and if configured (and it is this bit I cannot recall) it will lookup the...

Resolved! Calling Script Include for a filter not working

I have a script include that work when called from 'Scripts - Background' but when called from a filter it does not work. I hardcode a sys_id in the script just to make it simple and so I know there shouldn't be a script issue. I set it to client cal...

KW68_0-1755188605532.png KW68_1-1755188644394.png KW68_2-1755188676442.png KW68_3-1755188716638.png
KW68 by Mega Guru
  • 3045 Views
  • 10 replies
  • 1 helpfuls

Easy Import Functionality

Hi, Since the easy import functionality is restricted to admins only, is there another easy way to users to be able to import data into certain tables ? Any advice would be greatly appreciated. Thank you

Rachna S by Tera Guru
  • 970 Views
  • 2 replies
  • 0 helpfuls

How to setAbortAction in a custom action in a flow

I want to abort the insertion of a record if some condition is met in the flow, I did add the flow logic and everything and i made a custom action and added a script into it, but i can't seem to figure out how to setAbortAction since current.setAbort...

GassanHirra by Tera Contributor
  • 2976 Views
  • 7 replies
  • 1 helpfuls

Resolved! Create Excel File Via Script And Download

Hi ServiceNow Community, I have a task to generate an Excel file via script with a specific format. The file should contain 5 columns, and within those, 3 columns need to be merged.I've already researched on the Community and consulted ChatGPT, and I...

Dung Hoang by Tera Contributor
  • 3023 Views
  • 1 replies
  • 0 helpfuls

Event Field Mapping

I am getting an email in ServiceNow as below:Organization: XYZ Description: XYZ Jump-box for on-premise Domain controllers Location: Main Office Device: DEF View device: Device_URL Role: WINDOWS_SERVER Time: 14 Aug 2025, 06:05:05 Severity: OK Priorit...

Community Alums by Community Alums  
  • 1065 Views
  • 1 replies
  • 0 helpfuls