Example: extending AbstractAjaxProcessor
- ServiceNow's baseline AJAX processor Class
- Execute server-side but is called client-side
- Code automatically inserted in the Script field when Client callable slected
AJAX - Asynchronous JavaScript and XML
Set of web development methods used client-side to send data to and receive data from the server.
In this example, the alertGreeting() method is created. When it is called, it returns the string "Hello <name passed in from the client>!" to the calling script.