Asynch BR is not working

Tarasingh26
Tera Expert

Hi All,

 

I wrote small code in asych BR to update status when previous value is less than current value. It is not working. Can someone please help me in this. Code is in attached screenshot.

 

Thanks,

Tara Singh

3 REPLIES 3

OlaN
Giga Sage
Giga Sage

Hi,

You cannot use the previous object when running an Async business rule.

If you to switch an "after" BR, you can access the previous object.

Ankur Bawiskar
Tera Patron
Tera Patron

@Tarasingh26 

in async business rule you don't have access to previous object.

so please use before update BR

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Satyapriya
Mega Sage

previous object can not be accesed in Async Business rule.

It's not a best practise to use current.update in Async BR/After BR.

You can use After BR instead of Async BR to achieve this scenario.