- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I know its not the good practices but what if
If I have two client scripts on the same table with the same Order value (e.g., both set to 10), which one executes first?
Creation date?
Alphabetical order?
Random ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
It would be Random, hard to predict or find a set pattern.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
-> Type determines the phase of execution : (onLoad → onChange → onSubmit).
-> Order determines sequence within the same type.
In your Case, If two scripts of the same type have the same order, execution is not guaranteed which runs first, it’s essentially nondeterministic.
If my response helped mark as helpful and accept the solution..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Thanks @Anurag Tripathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Yup its 100 percent random, and i too think there is no reasoning behind it @Shreneek .
Kind Regards,
Mohamed Azarudeen Z
Developer @ KPMG
