This is a followup to Filtering child Case list using Parent property
It seems it is still not possible to refer to parent properties by parent/property_name. The workaround suggested in the thread above (instance(‘casedb’)/casedb/case[@case_id=current()/index/parent]/combine_el =
‘1’) didn’t work for me - attempting to display the case list caused an error on the (Android) device. But I wasn’t attempting a direct comparision to a constant - I was trying to reference the parent property within a contains() function call - could that be the issue?
What’s the current ‘approved’ way of referring to parent (and grandparent) properties in case list filters?
In my current application, I could solve the problem by propagating the case property from from grandparent to parent to child, because the particular piece of information is stable, but I can see scenarios where that wouldn’t work because the information changes over time.