Making an after BR Async
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2025 12:31 AM
Hi All,
We have made a after BR behave like an async BR , by calling a event in the after BR and then that event calls a script action however the BR is written on sc_task table and the update is happening on audit task table but since it was taking time immediately after the creation of task so we tried this way.
What i want to understand is :
1)When we transfer the control to event queue the execution thread gets to different way ? By this I mean BR execution thread and event queue execution thread. How is the execution thread processed in background at memory level?
2)If the above option is feasible and an effective measure, can we do the same for writing after BR on the same table itself ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2025 01:13 AM
After BR + event + script action ~~ Async BR
what's your business requirement?
When event is triggered it will get processed by system based on the memory and notes and how many current events are there in queue.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2025 01:23 AM
Hence the processing of events and BR happens on a different threads right ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2025 01:58 AM
regarding whether they run on same thread or different is at the platform level which we won't know directly.
It all depends on the number of nodes, memory and semaphores
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2025 01:18 AM
What is your use case that you do it like this?
An async BR does exactly the same and you can do it within one record, without having to create events and script actions. Why would you make something so complex if you can just change one field on the BR itself?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark