
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Have you ever wondered about all the different locations in ServiceNow where code can be present?
Bet it just keeps you up at night doesn't it?
Well, I was wanting a comprehensive list of coding locations for a utility I was writing (to help with the export to SVN), and decided to sort through everything. I may have missed a couple, but this appears to be the majority. Also, I went and looked at what had actually been given an editor (HTML or JavaScript). It was interesting to note the places where the editor was not present (due to the field type).
So off to the Dictionary I went!
Summary:
Field Types considered to probably contain code:
[*]Condition String
[*]Email Script
[*]HTML
[*]Script
[*]Script (Plain)
[*]String
[*]XML
I eyed the column names as well as the field types and came up with a grand total of 187 fields that contained code.
Really, for the SVN side of things, I was mostly interested in scripts. So filtering out column names that contained "Condition" or had a type that contained Condition: 34.
That brings my total to 153. Ugh! That is a LOT of locations where code could be!
Totals:
Email Script:4 (all needing an editor)
HTML:38
Script:25
Script(Plain):54
String:25 (all needing an editor of one sort or another, and some needing retyped!)
XML: 7 (all needing an editor)
Total needing retyped or needing an editor: 36.
I have attached my spreadsheet of everything I found. I have marked in green those fields I was most interested in for export to SVN (in case you were curious). Red denotes where I thought an editor probably to needed to be present.
You may want to investigate this further, and I would appreciate any feedback for any fields I may have missed.
Enjoy! And I hope y'all sleep better now! 🙂
Steven Bell
Santander Consumer USA, Inc.
Dallas, TX.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.