If we create a business rule on TAsk Table ,is it will also apllied on Incident/problem if they are extending from Task Table

Vijay27
Tera Guru

please provide the solution

1 ACCEPTED SOLUTION

Matthew Glenn
Kilo Sage

Business Rules are inherited and will run against extended tables, as long as there isn't a condition configured on the Business Rule itself that would prevent it from doing so.

Quick example: You can have a Business Rule configured on Task. By default, that Business Rule will run on all extended tables including Incident and Problem. However, if you were to put a condition in that states "current.getTableName() == "task", this Business Rule would then only run on Task and not the extended tables.

 

View solution in original post

2 REPLIES 2

Matthew Glenn
Kilo Sage

Business Rules are inherited and will run against extended tables, as long as there isn't a condition configured on the Business Rule itself that would prevent it from doing so.

Quick example: You can have a Business Rule configured on Task. By default, that Business Rule will run on all extended tables including Incident and Problem. However, if you were to put a condition in that states "current.getTableName() == "task", this Business Rule would then only run on Task and not the extended tables.

 

asifnoor
Kilo Patron

Yes as long as the base table is getting inserted/updated along with the child table.

However, you can restrict them by not allowing to run by checking a condition current.getTableName()=='childtable;