Randomizing an array of transactions

In reply to dave_59:

Thanks Dave,
Yes I need to add a pre_randomize() and create all the transactions in a foreach loop such that the number of created transactions are not less than the items.size() mentioned in the constraint block. I was able to contrain the variables of the transaction class with this.

thanks
Myashu