About this question
I need to distribute several object records to users. I want to spread each record to two users who are inside ‘assignmentList’ based on the inputted maximum call line they can manage. My condition is if their inputted max amount - total distributed record amount is greater than 0. I tried to loop the records and looped the assignmentList for each record. But the problem is whenever the user hits the maximum amount, the continue does not skip. As a result, the record is fixed to the first user. So, my question is, how can I skip the iteration happening in ‘continue’?