Solved! Go to Solution.
"%Ammonia%" I think this is correct.
import arcpy
string = arcpy.GetParameterAsText(0)
if string == "Ammonia":
<code>
if string == "pH":
<code>
if string == "VSS":
<code>
if string == "COD":
<code>
Using your attachment as reference I can see you take a string variable and check to see what the string is using the "Calculate Value" (CV) tool and then set the data type to Boolean. But I am not quite sure what to put in the code block or expression field and string variable a precondition to the "Calculate Value" tool?
"%Ammonia%" I think this is correct.