How to distribute process variable records

I have process variable with 22 records, I want to distribute these records in set of 10, so there will be 3 sets. Set 1 with 10 records, Set 2 with 10 records and Set 3 will be 2 records.

How can I achieve this using expression rules?
Thanks.

OriginalPostID-226200

OriginalPostID-226200

  Discussion posts and replies are publicly visible