Does it route correctly based on CED?If it's routing correctly, then I'm curious what you are doing after you hit that node that might be messing with the value or maybe take a closer look at the query, maybe it's something silly like you are looking...
Also if you are comparing to Avaya have you reviewed this doc http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/enterprise_reporting/reporting7_5/user/icm75rpg.pdf
I'm not sure you really need a conditonal statement. One option is to queue to the specific agent. If the agent is in ready mode the phone will ring and call will be answered. If, not the call will continue down the path of the ICM script and that...
Paul,This is not really intuitive but when you set the max size you are not really setting the max size. The real max size is 5+max sizesee https://supportforums.cisco.com/docs/DOC-16182