Server Side - Data mgmt - Create Array, Add all in Array List, Get Array List Properties-> use for a param in a query

Hi,
I’m using the server side Data mgmt capabilities and it is producing the right result but I can’t figure out how to use these values as a param to a query (see screenshots). Inspect shows

  1. nWHERE find_in_set(cast(userdata.UID as character), {“UID”:33}, {“UID”:34}, {“UID”:35}, {“UID”:309}, {“UID”:855}, {“UID”:856}, {“UID”:857}, {“UID”:256}, {“UID”:257}, {“UID”:258}, {“UID”:259}, {“UID”:260}, {“UID”:261}, {“UID”:262}) /* */ AND userdata.EDID <> 3\nORDER BY ENabled.EnabledDisabled DESC, RoleName.Role ASC - ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT: Incorrect parameter count in the call to native function ‘find_in_set’"
    ==
    I’ve tried using the collections to get at the values but cant figure out how to do this and would appreciate any guidance please,

    Thanks