Parametes not being passed

Hello.

I'm trying to user a result from a query into another one using the function set property after the first query. when I use the result into the new method I get undifined parametes.
The parameter that I'm trying to use is int. If I type it on the browser manually it works perfectly.

thank you

Kind regards