Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

where to write a custom function and how to call the function?

venkateshkumar
Tera Contributor

where to write a custom function and how to call the function?

This function can be called from anywhere during submission/ordering moment or approval moment or service delivery moment.

Any directly with examples will help as I am starting to learn SN tricks and way to do things.

Thanks,

Venky

2 REPLIES 2

hmartind
Kilo Expert

Hello,



You can start checking "Script Includes" and "UI Scripts" to reuse JavaScript code in the Server and the Client.



Script Includes - ServiceNow Wiki



UI Scripts - ServiceNow Wiki



Or you could take one of the ServiceNow trainings available:



https://developer.servicenow.com/app.do#!/training/landing?v=istanbul


Thanks Hector.


This helps.