In case to want to use Logic in order to decide the value of the parameter, you will need to use a Function.
To bind a Function to a parameter, the Data Type of the Return Argument of the function should match the Data Type of the parameter.
Tip: The easiest way to create the Function is to press the + Add new Function button when you want during the bind. This will create a new Function with the correct Return Argument Data Type.
In order to return the correct value, you will need to use the Code Blocks and at the end to return the correct value from the function.