Try the following code:
var VarName := str_to_obj("Umlagern_"+?.name) waituntil VarName.value
str_to_obj returns the variable object. To get its value you can use its attribute 'value'.
I have tried
- before but that doesn't work. Could you explane me the difference between those?