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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2017 07:01 AM
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
- Labels:
-
Best Practices
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2017 07:11 AM
Hello,
You can start checking "Script Includes" and "UI Scripts" to reuse JavaScript code in the Server and the Client.
Script Includes - ServiceNow Wiki
Or you could take one of the ServiceNow trainings available:
https://developer.servicenow.com/app.do#!/training/landing?v=istanbul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2017 07:30 AM
Thanks Hector.
This helps.