The Dynamic data attachment worked fine for me with default Syntax, for example:
instance(‘survey’)/root/data[P_Demographic/P_SN = current()/…/C_SN]/P_Demographic/P_Age
But it only work with the calculation inside same group with C_SN question.
If I make the calculate in difference group with C_SN, for example:
The C_SN is in group check_group
the question calculation Previous_Age (which call P_Age’s value from parent survey) is in group history_group
=> the Syntax return nothing for Previous_Age
I tried to change current()/…/C_SN to /data/check_group/C_SN but it also does not work