Async Business rules on insert are not executing

Rohit79
Kilo Expert

hi,

I have noticed that async Business rule are not working in my instance 12:30 AM IST today. it was working before that

so check this issue further - I have created below very simple Business rule to test whether async BR working. but that log messages not seen in logs. how to troubleshoot this

find_real_file.png

 

?

find_real_file.png

1 ACCEPTED SOLUTION

@Rohit 

Is there any Business Rule that is running before this that is using .setWorkFlow(false) method? This skips the business rules.

View solution in original post

6 REPLIES 6

Anil Lande
Kilo Patron

Hi,

Just tested this and it is working as expected on my PDI.

Please make sure your are testing it by creating new incident.

Also check logs after 5-10, there could be something running in backend and your async BR execute late.

 

Thanks,

Anil Lande

Gunjan Kiratkar
Kilo Patron

Hi @Rohit,

 

The Async is special case of After BR. Suppose you are updating 100 records at once, as this operation takes a long duration to complete and any end user/customer doesn't want to wait until this operation gets completed. Hence, in asynchronous BRs we give the control to the user but take the action in back end, the operation will be put in a queue and done from back end.

You want to see quick response then go with Before /After BR.

 

Regards,

Gunjan