What will run first business rule or client script? (2024)

Hi Amol,


Client-based code:

"Client-based code that executes in the browser, using Ajax or running as Javascript, always executes before the form submission to the server."

This includes Client scripts and UI Policies.


First onLoad Client scripts, after that the first UI Policies kick in.

After that, the Client scripts and UI Policies that work onChange.

After that, the Client scripts that work onSubmit.


Server-side code: (More info: Execution Order of Scripts and Engines)


  1. Before business rules:
  2. Before engines.
  3. Before business rules:
  4. The data base operation (insert, update, delete).
  5. After business rules:
  6. After engines.
  7. Email notifications.
  8. After business rules.

Hope this helps!


BR /Miriam


What will run first business rule or client script? (2024)
Top Articles
Latest Posts
Article information

Author: Jonah Leffler

Last Updated:

Views: 6467

Rating: 4.4 / 5 (45 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.