Pass Integer Array as additionalScope to a pSQL Query

Thanks for you proposal, however i found the solution:
change it from unnest(array[{{parameterid}}]::int[]), to the following: unnest(array[{{parameterid}}::integer[]]),