- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 09:29 PM
Hi , I can see we have 2 type for a script field - script and script(plain).
what is difference between script and script(plain).
If I open Client Script and go to configure dictionary in Script field, then type is - Script(plain) but when we go to Business Rule and do configure dictionary in Script field, then script field is - Script.
Client Script
Business Rule
Is there any major difference or we can use any we want?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 09:39 PM
Hi @samratg,
Refer below link -
https://www.servicenow.com/docs/bundle/xanadu-platform-administration/page/administer/reference-page...
Script - Text field that accepts JavaScript code input and provides controls, such as syntax checking and formatting. It also provides a list of fields and server APIs. You must specify a dependent field that references the table name for the list of fields.
Script (Plain) - Text field that accepts JavaScript code input and provides controls, such as syntax checking and formatting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 10:56 PM
Hi @samratg ,
Here is a really good video about script fields (actual topic stats at around 7mins 30 secs)
Happy learning 🙂
https://www.youtube.com/watch?v=9ifArzAI0BU
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 09:39 PM
Hi @samratg,
Refer below link -
https://www.servicenow.com/docs/bundle/xanadu-platform-administration/page/administer/reference-page...
Script - Text field that accepts JavaScript code input and provides controls, such as syntax checking and formatting. It also provides a list of fields and server APIs. You must specify a dependent field that references the table name for the list of fields.
Script (Plain) - Text field that accepts JavaScript code input and provides controls, such as syntax checking and formatting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 10:56 PM
Hi @samratg ,
Here is a really good video about script fields (actual topic stats at around 7mins 30 secs)
Happy learning 🙂
https://www.youtube.com/watch?v=9ifArzAI0BU
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 11:00 PM
check the video shared by @Chaitanya ILCR
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader