Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

Resolved! How to pretty print the XML.

I wan to develop one function which takes the XML as an input and returns an well formatted XML with indentation, just like how we do pretty print.How can i do that?Example:<level1><level2><apple>content</apple><boo>something else</boo><level3><baba>...

Priyanka_77 by Tera Contributor
  • 925 Views
  • 6 replies
  • 3 helpfuls

Regarding Lead Time Conditions On Change Request

Hi Community ,I'm stuck with one of the tasks in ITSM Simulator Task-Change requests without sufficient lead time pose a greater risk to the environment and should be documented as such. Risk calculations should consider required lead times, as defin...

Checklist Template in Flow Custom Action

I have a custom action in a flow. It's input is the "Template" field of checklist_template table record. I then have a script step that converts it into a JSON object in order to get the "items" array out. But no matter what data type I use for actio...

AmolJ by Tera Expert
  • 460 Views
  • 1 replies
  • 0 helpfuls

Regarding Encryption/Decryption of parameter in URL

Looking for your inputs on Encrypt the field called “LDAP ID” and pass it on the URL parameter from ServiceNow tool to the another tool called “Customer portal” over REST Integration,.Also, we need to Decrypt in the same way, when encrypted LDAP ID C...

Toggle currency and list calculations in UI Builder

Hi, does anyone know if it's currently possible to setup the ability to toggle currencies and setup list calculations in the list component of UI Builder? I can't see any mentioning of this in the documentation of the list component. It also seems th...

Henrik11_0-1667295068706.png Henrik11_1-1667295161284.png
Henrik11 by Tera Contributor
  • 570 Views
  • 1 replies
  • 0 helpfuls

Declarative action in related list to show a page as pop up

Hi Team,As a part of requirement, I need to have a UI Action at related list level that shows a pop-up with 2 fields. 1)User Field2)Comments FieldAnd a submit and cancel button below those fields. submitting this pop-up will create a new approval rec...

Stenali_0-1756718078658.png Stenali_1-1756718345175.png Stenali_2-1756718575523.png Stenali_3-1756718597612.png
Stenali by Kilo Contributor
  • 983 Views
  • 4 replies
  • 6 helpfuls

Error for Mandatory Attachment Catalog API REST Call

Dear Team,We are using ServiceNow Service Catalog API to order and submit HR cases for record producers.  But, in one of the record producer is having attachments variable and it's mandatory to variable level. While, attachments are not asking for ma...

_Samay by Tera Expert
  • 392 Views
  • 2 replies
  • 0 helpfuls

Add an hour to time field in incident form

i am trying to add an extra hour in time in time field but i face some problem .this is my code running on before update  (function executeRule(current, previous /*null when async*/) {    var gt = new GlideTime(current.u_customtime);      var newTime...

sagarpundir by Tera Contributor
  • 702 Views
  • 6 replies
  • 0 helpfuls

Auto refresh related list declarative actions

HiI've a declarative related list action in workspace then after adding the record If i refresh then the added records are reflecting.I want after selecting the records once I click on add it should be auto refreshed and it should show the items.Than...

Vedavalli by Kilo Sage
  • 506 Views
  • 2 replies
  • 1 helpfuls