Business Rule on History Table (sys_history_line)

augusto3
Kilo Contributor

Hello Guys,

I´m considering to create a Business Rule on History (sys_history_line) table, for when a specific record will inserted in this table I will create a record in another table.
But apparentely Business Rules doesn´t work for this table.

History LInes are created when I run this script for example

var gr = new GlideRecord("u_desktop");
gr.addQuery('name', 'AR00002713');
gr.query();
if ( gr.next() ){
  new GlideHistorySet("u_desktop", gr.sys_id).generate();
}


I think that is because we cannot use Business Rules in some system tables, am i right?

 

 

5 REPLIES 5

Sorry Jon, do you mean why I a need to create the Business Rule?