Hello,
It looks like the issue occurs because of the $parameterName variable being incorrect. You need to specify it with the param- prefix:
$parameterName = "param-Name" # TODO: modify me
Also, we are not quite sure what exactly you need to achieve. Please, describe the desired behavior in all the possible details with live examples.