Can we use gs.addInfoMessage in an async Business rule

anuneetimathur
Kilo Explorer

I am creating a business rule and running it asynchronously. Can I use gs.addInfoMessage in it.

6 REPLIES 6

DrewW
Mega Sage
Mega Sage

I do not believe that you can.   An async rule essentially runs as a scheduled job at its most basic.   About all you can do is dump out log messages as far as I am aware.


bernyalvarado
Mega Sage

Hi, Anuneeti, no, it would not work. You may want to consider converting your async business rule to an onBefore or an onAfter one.



Thanks,


Berny


Thanks Guys.


Hi Anuneeti, would you mind closing this thread by marking the responses are helpful/correct?



Thanks,


Berny