How to use script(plain) field type to create new field.

sumitjumale
Kilo Contributor

When we create new field on any table, we can select it datatype as string,list, journal entry, reference. script(plain), script.

Can you please tell me what is use of script(plain) and   script field type

find_real_file.png

5 REPLIES 5

vishal065
Tera Expert

Hi Sumit,



You may find this link useful - Introduction to Fields - ServiceNow Wiki




-Vishal


Hi Vishal,



Can you please explain the use of script (plain) field type with sample example. if I write some code there then how to execute that code


The SN Nerd
Giga Sage
Giga Sage

It is for code. Shouldn't be needed on the incident table!



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Hi, I have mentioned this incident table as an example. If I am add this field in other table. and   write some code there,then how to run that code.