How to test Async business rules?

Rajesh98
ServiceNow Employee
ServiceNow Employee

I have written insert or update Async Business rule on one Table? I have to test that business rule is working fine or not ? How can i do this?

1 ACCEPTED SOLUTION

Sanjay Bagri1
Tera Guru

Hi Rajesh,

 

Please can you go once this Link :

Async Business Rules and the 'current' object
 
and also please prefer this below article it is very nice article
 
Performance considerations when using ASYNC Business Rules
 
 
Please mark as correct and also Helpful ,if it is helping for you.
 
Thanks
Sanjay Bagri
DxSherpa.com

View solution in original post

5 REPLIES 5

Deepak Ingale1
Mega Sage

You can put some logs and see if those are printed in syslog table.

You can also perform some actions in the script like updating any other record in another table and see if that record got updated.

That way you can test ASYNC business rule. 

 

Note: Please mark reply as correct if it has answered your question

Sanjay Bagri1
Tera Guru

Hi Rajesh,

 

Please can you go once this Link :

Async Business Rules and the 'current' object
 
and also please prefer this below article it is very nice article
 
Performance considerations when using ASYNC Business Rules
 
 
Please mark as correct and also Helpful ,if it is helping for you.
 
Thanks
Sanjay Bagri
DxSherpa.com

Similarly, How can i check Before insert or update business rules on a table?

for Before you can do any validation on specific fields that will perform a before insert or update BR.

Like Email verification ,Phone number verification etc. if these are not valid then you can not save the You form.

Mark as a helpful if it is helping to you .

Thanks

Sanjay Bagri

www.Dxsherpa.com