| Summary: | Expression should support navigation to parent element | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Shenxue Zhou <shenxue.zhou> |
| Component: | Sapphire | Assignee: | Konstantin Komissarchik <konstantin> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | konstantin |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Implemented Parent() and Root() functions. Added corresponding unit tests and a blurb in the what's new doc. Verifed. |
I've run into a situation where I need to be able to reference parent element in expression. As an example: ${parent().FromActivity}-${ToActivity}. We need to extend the expression language to support this case. Note that it needs to be recursive so I can refer to grandparent, greate-grand parent node etc.