Script contained in Script include is running in REST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 11:10 PM
Hello Team, If a script contained in Script include is running which is REST based and a transaction is in progress, and in the midst of it, I change the script, will it refer to the new script or the old one?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 11:15 PM
@krishnagopal_sn Once your REST message is triggered I guess it will take the old script during the transaction.
Please test it once just to be sure .
Also , i feel there wont be a scenario like this in real case .But if this is for your information and learning purpose please test it once during a transaction.
Hope this helps
Mark the answer correct if this helps you
Thanks
Mohith Devatte
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2024 02:37 AM
It will refer the Old one only as each and every update to a Script Include creates a newer version and when a Script Include is executing, it will always run the code which is available in the version picked up for execution.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.