What is object in javascript in service now and how it is called. DOES A BUSINESS RULE Contains serverside and client script andhow can we check it?

Lingeswari M
Kilo Contributor

What is object in javascript in service now and how it is called. DOES A BUSINESS RULE Contains serverside and client script andhow can we check it?

3 REPLIES 3

Anurag Tripathi
Mega Patron
Mega Patron

Business Rule contains server side script and Client script contains client side script.

 

Would be easier to help if you gave some context where these questions are coming?

-Anurag

Aman Kumar S
Kilo Patron

Object in javascript is a simple yet complicated concept, you can refer to w3schools link for better understanding:

JavaScript Objects

Business rules uses server side scripting, since it runs on the backend, whenever there is an interaction with the database, so to facilitate this it uses server - side code.

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

 

Best Regards
Aman Kumar

Harish KM
Kilo Patron
Kilo Patron
Hi, A object is nothing but a collection of values. It can have multiple values called as property. Refer below link to understand https://www.javascripttutorial.net/javascript-objects/ In ServiceNow Scripting You need to understand server side scripts and client side script Refer below link for the same Link https://docs.servicenow.com/en-US/bundle/sandiego-application-development/page/script/topic/c_Script.html
Regards
Harish