What are Recursive Business Rules in Servicenow?

theBeastMaster
Mega Guru

What are Recursive Business Rules in Servicenow?

1 ACCEPTED SOLUTION

Mrigank Gupta
Giga Expert

Recursive as per the terminology, anything which calls itself again and again.

In Business Rule, if we are using update() statement on the same table object, in that case, that BR wil be called again and again, until the breakout condition is met.

This is not recommended as we don't know when the recursion will stop, until and unless we have deliberately put some break by which the recursion will end.

View solution in original post

2 REPLIES 2

Inactive_Us2376
Kilo Contributor

Business rule that are calling itself over and over can be termed as Recursive.

Please refer to link below:-

https://developer.servicenow.com/app.do#!/document/content/app_store_doc_technical_best_practices_jakarta_prevent_recursive_business_rules?v=jakarta

Mrigank Gupta
Giga Expert

Recursive as per the terminology, anything which calls itself again and again.

In Business Rule, if we are using update() statement on the same table object, in that case, that BR wil be called again and again, until the breakout condition is met.

This is not recommended as we don't know when the recursion will stop, until and unless we have deliberately put some break by which the recursion will end.