After Query Business Rule (sys_audit)

stevejarman
Giga Guru

I'm trying to create a Business Rule that fires after query of sys_audit, when the new value field of the record contains a URL. For some reason though, the Business Rule never fires, even though I'm definitely meeting the conditions. Can anyone think of any reason why it wouldn't work?

I've tried just setting the script to nothing but a gs.log and the message never appears in the log.

Screen Shot 2018-01-24 at 10.17.18 am.png

10 REPLIES 10

"Before Business Rules execute their logic before a database operation occurs."



So if the operation is a QUERY, then there is no data until the operation occurs.



I assumed AFTER QUERY means that the recordset is aquired, but the Business Rule code is executed before the recordset is handed back to whatever requested it.