Demystifying the focus_obj2act_entry relation
December 5, 2016
I’ve had multiple people inquire lately about the focus_obj2act_entry relation.It’s definitely a bit of a magic relation, and can be confusing, so I figured it was time to blog about it. Business rule properties allow you to define a value that is determined by traversing through the schema starting from a particular object.For example, the Site Name property for a Case has a path of case_reporter2site:name. So when this rule property gets resolved, the property evaluator knows how to turn that schema path into actual SQL, such as:select name from table_case, table_site where case_reporter2site = table_site.objid and table_case.objid = {The Objid of the Case in Context}Pretty straightforward. focus_obj2act_entry propertiesWhen looking at existing business rule properties, you may notice that some of them start with the relation focus_obj2act_entry.For example, the Logger property uses focus_obj2act_entry:act_entry2user:login_name Notice the "focus_obj2act_entry" part of the path. If you look…