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.

Jim Coyne
Kilo Patron
Part of the Tips 'N Tricks" series.

 

This is the first post of the new series.  Not exactly a platform TNT, but something helpful nonetheless for users looking for help here on the Community.  If your post includes code, please post it as formatted text and not just a screenshot.  I'll admit to have passed by a couple posts because it only included a screenshot and I was not about to re-type everything from scratch to help out.  Maybe I'm getting lazy?

 

It's easy to do.  In the "Description" field, click on the find_real_file.png icon in the toolbar:

 

find_real_file.png

 

A popup window will appear.  Select the appropriate "Language" option and then paste the code in the text box:

 

find_real_file.png

 

The code will then appear nicely formatted, making it easy for others to read, copy and modify to help you out:

 

(function() {
  //this is just a sample block of code

})();