Hi, I'm sending a database query array from a coldfusion gateway to a flex datagrid. The problem is that I am trying to filter which database query goes to which page, in the cfc itself. I didnt want to filter the results in the flex page because I would be sending a huge DB query to each page.
So I thought the easiest way to do this would be to use the correlationId that is sent with each flex message, by setting it with a cfset tag in the cfc. But i get errors in flex saying that correlationId "could possibly not be defined and is being passed by the static mx.messaging...." How can I get the correlationId out of the message? Is this the best way to go about this or is there a better way? Thanks!

