Making an after BR Async

Anubhav24
Mega Sage
Mega Sage

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 ?

 

7 REPLIES 7

There is not an exact requirement however I wanted to understand the working behind this type of scenario , is the execution in the background happens on different threads ? I need to understand the working behind the async behavior like how is it processed?

Async just waits until it can be executed. And that could be on a different thread. But why would that matter? It runs and does what it needs to do. It still doesn't make sense to create an after BR with an event and script action when async does exactly the same (without you having to create an event and a script action).


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

@Mark Manders Agree to your point totally I am also going to suggest the same as part of improvement , I was just trying to understand the mechanics behind all this.