Uvm_do constraint issue

In reply to chr_sue:

That issue got solved. But, one of my transaction variable is dynamic.
so i am using constraint in `uvm_do:

`uvm_do_with(req,{req.data.size()==3;req.data={32’h3,32’h4,32’h5};});//data is dynamic

Here I am getting error as “can’t mix packed and unpacked”.So,please tell me how to assign value in constraint to a dynamic array.

Thanks,
Roopa