We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

Forum Posts

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
  • 1724 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  
  • 2046 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
  • 1197 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
  • 1987 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
  • 1705 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
  • 2666 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
  • 7047 Views
  • 11 replies
  • 2 helpfuls

Resolved! updateMultiple() is not working while using in fix script

Hello, I have to update multiple records in scoped app but when i tried to update record using updateMultiple(), it is not working.Script : var gr = new GlideRecord('x_hclan_gbs_financ_p2p_request');gr.addEncodedQuery("numberINP2P6688772,P2P6689407,P...

how to trigger sequence approvals in change request

hi, i have an requirement, we need to create approvals in parallel .for example: once assignment group approvels triggered/completed, then some other group approvals need to be triggered, once it's completed then other approvals will triggered. i hav...