Sequence of execution of Client Scripts

Community Alums
Not applicable

Hi,

What would be the sequence of execution of Client Scripts? Kindly help.

Regards

Suman P.

6 REPLIES 6

rambo1
Tera Guru

Hi @Community Alums 

onload > on change > on submit

rambo1
Tera Guru

please refer this image for overall order of execution 

AshishKM
Kilo Patron
Kilo Patron

Hi @Community Alums, 

Client Script execution triggered based on some event, so event is cause of triggering the configured client script code.

OnLoad -> When execute when we open any record

OnChange -> When we change any field value and there is clied script configured.

OnSubmit -> Finally when we submit the Save/Update, this help to check any validation and calculation just before form submit, and restreic the submit operation if validation fails.

 

@rambo1 - good image, can you share the source of that. 

 

-Thanks,

AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Community Alums 

 

https://youtu.be/WAAyCC9Q4Ag

 

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************