Dynamic Selector : Appear Message "variable is not defined in the current scope" even if it's defined

Hello - Has anyone found a solution to this issue? I am also facing this exact same problem.