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

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

Forum Posts

Resolved! Approval approved/Rejected notifications not working

We have 2 notifications on the AST_CONTRACT table. 1) Contract approved2) Contract rejected  These notifications are not triggering an email when a contract is approved or rejected. I tried to trigger it via an event, based on conditions, but these n...

GB14_0-1671125305630.png
GB14 by Kilo Patron
  • 2135 Views
  • 9 replies
  • 2 helpfuls

How to Create Catalog task using Subflow

Hi I'm trying to create catalog task if any error occurs in the subflow and as inputs I have given all the catalog variables and also request item as reference field(sc_cat_item). while creating task I'm giving this reference record but I was getting...

sRavani42_0-1667207527256.png
Vamshi_ch123 by Tera Contributor
  • 2787 Views
  • 7 replies
  • 1 helpfuls

Sort order on variables and variables sets

Hi,Let's say that I have a Catalog Item containing two Variable Sets. Each set contains lots and lots of variables. For simplicity's sake let's just say that I have 'Variable Set 1' and 'Variable Set 2'. I need those variables separated in two Variab...

Thomas G by Tera Guru
  • 2390 Views
  • 1 replies
  • 1 helpfuls

I want to pass sys_id through the property ?

In the below script , instead of passing the sys_id of the ITIL role directly I want to pass it through property . How can I implement this functionality? Script :  var userRole = new GlideRecord('sys_user_has_role');userRole.addQuery('user', current...

Pooja Khatri by Tera Contributor
  • 1854 Views
  • 4 replies
  • 5 helpfuls

Resolved! Change task is not getting created in standard change workflow

Hello Experts, Change task is not getting created in standard change workflow. I have added task to create change task in Standard change workflow in scheduled state. However the task is not getting created. In below workflow it shows running. But ta...

AnkitaGupte_0-1671106287275.png AnkitaGupte_1-1671106336997.png
Community Alums by Community Alums  
  • 2223 Views
  • 4 replies
  • 0 helpfuls

How to write if statement in Jelly Code for Object

Hello, I have the following code: <j2:forEach items="$[jvar_grCategories]" var="jvar_json"> , this should return N object so i need to write an if statement if( jvar_json.type == "car" ) then print "Type:Car". I wrote the following code but the code ...

Saif7 by Tera Contributor
  • 1303 Views
  • 2 replies
  • 0 helpfuls

Send a CSV file using SFTP in flow designer

My requirement is to send a csv file to external location using SFTP.I'm using custom action on flow designer, I built a two step action. First step would be generating a csv file(calling a script include using run script action) and then taking the ...

Querying encrypted field

Is there a way to query encrypted field through glide record? I am trying to query using gliderecord with a value but doesn't work. Is there any way to do this?

samadam by Mega Sage
  • 2076 Views
  • 4 replies
  • 0 helpfuls

"InvalidLookupReference" error in Azure AD provisioning.

Hi Team, How we can handle this type of error in servicenow when we do azure ad provisioning. Any idea? As per the tip, missing location "LA" data must be added in servicenow. Apart from this, is there any way to treat this error. Azure AD provisioni...

find_real_file.png
Sriraj V by Tera Contributor
  • 1799 Views
  • 1 replies
  • 0 helpfuls

Resolved! Regular Expression with j option

Hello all, I am attempting to use Regular Expressions.  I am reading the documentation of: https://docs.servicenow.com/bundle/sandiego-application-development/page/script/general-scripting/concept/c_RegularExpressionsInScripts.html and it says that I...

lonesoac01 by Giga Guru
  • 2866 Views
  • 3 replies
  • 1 helpfuls

Resolved! Need to update the quantity field in catalog item

Hello,I need to update the quantity in a catalog item based on number of records in the reference field of a variable before submission. I think I need to write  a onChange catalog client script .Kindly provide assistance in writing the script. Thank...

Savitha4 by Tera Contributor
  • 7526 Views
  • 11 replies
  • 2 helpfuls