Table=sys_script.or.Table in sys_script,sys_metadata functioning

shreyanshs07
Tera Contributor

Hello Community,

while walking through and exploring the instance regarding the business rules, I was stuck at a certain point when the business rules pointing to a table (Incidents) contained business rules inside with the filter "Table=sys_script.or.Table in sys_script,sys_metadata functioning".

business rules 11.png   

 

business rules .png

Can anyone explain what is this table referring to and what are the entries within this?

2 ACCEPTED SOLUTIONS

Mark Manders
Mega Patron

You were checking the business rules for incident, on the business rule table (sys_script). Like with every table, if you go to 'configure' you will find all logic related to the table (like on incident, it will show you all business rules on the incident table). Same happens on the business rule table. There are business rules triggered when business rules are updated/inserted. You can check on some of those to see what they do.

These BR's are not 'inside' the incident business rules, but are for the functionality of the business rule table.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

View solution in original post

Sandeep Rajput
Tera Patron
Tera Patron

@shreyanshs07 Business rule [sys_script table] contains server side scripts which run on any table at the time of insert/update/delete/query operations. On the other hand the Application File [sys_metadata] table is the parent table for all tables that contain configuration records. It provides a series of standard fields that define the attributes for a configuration record. Tables that contain configuration records extend the Application File table. For example, the Business Rule [sys_script] table extends the Application File table.

 

Hope this helps.

 

Source: https://docs.servicenow.com/bundle/washingtondc-application-development/page/build/applications/conc...

View solution in original post

3 REPLIES 3

Mark Manders
Mega Patron

You were checking the business rules for incident, on the business rule table (sys_script). Like with every table, if you go to 'configure' you will find all logic related to the table (like on incident, it will show you all business rules on the incident table). Same happens on the business rule table. There are business rules triggered when business rules are updated/inserted. You can check on some of those to see what they do.

These BR's are not 'inside' the incident business rules, but are for the functionality of the business rule table.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Thanks for sharing the correct functionality, Mark.

Sandeep Rajput
Tera Patron
Tera Patron

@shreyanshs07 Business rule [sys_script table] contains server side scripts which run on any table at the time of insert/update/delete/query operations. On the other hand the Application File [sys_metadata] table is the parent table for all tables that contain configuration records. It provides a series of standard fields that define the attributes for a configuration record. Tables that contain configuration records extend the Application File table. For example, the Business Rule [sys_script] table extends the Application File table.

 

Hope this helps.

 

Source: https://docs.servicenow.com/bundle/washingtondc-application-development/page/build/applications/conc...