ServiceNow Script and Object Run on below order.
Client-Side Code:
- onLoad Client scripts.
- Client scripts and UI Policies that work onChange.
- Client scripts that work onSubmit.
Server-Side Code:
- Before business rules:
- Before engines.
- Before business rules:
- The database operation (insert, update, delete).
- After business rules:
- After engines.
- Email notifications.
- After business rules.
No responses yet