How do business rules, client script & script include differ from each other in ServiceNow? & How do UI Action & UI policy differ from each other in ServiceNow?

rishabh31
Mega Sage

Please help me to understand that>>How do business rules, client script & script include differ from each other in ServiceNow?

& How do UI Action & UI policy differ from each other in ServiceNow?(requesting support with example)

Will appreciate your bit of time & effort for explanation

1 ACCEPTED SOLUTION

Sulabh Garg
Mega Sage
Mega Sage

Hello

Business Rule and script include are server side scripts, Whereas Client script runs on client side.

Client vs server script difference - 

The web browser is the client, and is often the only software that is installed at the customer site.The application server and the database are located at the data center.

  • Client scripts run on the client (which is the web browser)
  • Server scripts run on the server (which includes the application server and the database)

The web browser is where you control and communicate with an instance, including communicating with the server and database.

UI Action & UI Policy

UI Action represents the usage of Buttons, Links, Context menus, Lists etc. whereas UI policies define the visibility of the form fields, mandatory fields, read only fields.

Please go through below article, for more info

https://www.tutorialspoint.com/servicenow/servicenow_development.htm

Please Mark ✅ Correct/helpful, if applicable, Thanks!! 

Regards

Sulabh Garg

Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg

View solution in original post

1 REPLY 1

Sulabh Garg
Mega Sage
Mega Sage

Hello

Business Rule and script include are server side scripts, Whereas Client script runs on client side.

Client vs server script difference - 

The web browser is the client, and is often the only software that is installed at the customer site.The application server and the database are located at the data center.

  • Client scripts run on the client (which is the web browser)
  • Server scripts run on the server (which includes the application server and the database)

The web browser is where you control and communicate with an instance, including communicating with the server and database.

UI Action & UI Policy

UI Action represents the usage of Buttons, Links, Context menus, Lists etc. whereas UI policies define the visibility of the form fields, mandatory fields, read only fields.

Please go through below article, for more info

https://www.tutorialspoint.com/servicenow/servicenow_development.htm

Please Mark ✅ Correct/helpful, if applicable, Thanks!! 

Regards

Sulabh Garg

Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg