- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2019 01:48 AM
Say I have an async update business rule on a record and some script which runs after update of the record. Will order of execution of the script be maintained if the record gets updated for two successive updates of the same record with minimal time difference? Is it using a queuing mechanism to push work in the background? I understand that it moves the execution of the script to a different processing thread as per this article, but will a queue be maintained? Or will both the updates be made to run in parallel?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2019 09:42 PM
The order cannot be fully guaranteed as the scheduler contains multiple queues and all of your async BRs would be executed in different queues depending on its availability. If all of your async BRs are send to a single queue then it would be executed one after the other but this is not the case here.
You can see the list of all available schedulers in the stats.do page. By default, most instances have 8 scheduler worker queues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2019 09:42 PM
The order cannot be fully guaranteed as the scheduler contains multiple queues and all of your async BRs would be executed in different queues depending on its availability. If all of your async BRs are send to a single queue then it would be executed one after the other but this is not the case here.
You can see the list of all available schedulers in the stats.do page. By default, most instances have 8 scheduler worker queues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2019 09:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2019 09:58 PM
Great. Thanks for taking the effort in testing this Allikutty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2019 10:13 PM
You are welcome