Update GlideRecord on query

grosch
Mega Expert

I've added a u_last_query_date field to the cmdb_rel_ci table.   I need a rule that says when you query that table, and you explicitly add the parent, child, and type fields, then I want that record queried to set the u_last_query_date field to the current date.   A business rule with Query is possible, but I don't seem to have access to the record actually being queried.   Any ideas how I can accomplish this?