Hi there, the code post is correct and you need to use if you want to use a wordfragment correctly. Anyway you are right, you code is not working because there is another mistake, the replaceTableVariable does not support wordFragments at the moment, I have not noticed that. If you want to replace any variable by wordfragment you need to use the replaceVariableByWordFragment method
Regards.