web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Case Assignment Round ...
Power Automate
Unanswered

Case Assignment Round Robin Process

(0) ShareShare
ReportReport
Posted on by

@Pstork1 

Hi All

Example:

Name Total Case Assigned

Asha     3

John      2

Jack       2

Beth      2

Carolyn 1

Charlie   1

 

I want to assign the next case to these people so its round robin process the person who has the lower value i have to start from them to assign the case. Lets say Charlie and carolyn has 1 ,before assigning to them i need to look alphabetically to sort carolyn comes first to assign the case next charlie beth jack john like this sequence.

 

It should be alphabetically and start from lowest value

Output should be like this

Carolyn 1

Charlie  1

Beth 2

Jack 2

John 2

Asha 3

 

Please help me how to proceed with this in power automate flow.

 

I have taken list rows and sort the column of total case assign then i put apply to each. 

Kindly let me know how to proceed further.

 

 

 

Thanks,

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    Sort the list by name in ascending order and then Sort that result by case count in ascending order. Use a first() to get the name of the person whose name is first alphabetically with the lowest number of cases.

  • Priyanka03 Profile Picture
    on at

    It will come the right output but how do i want to implement like:

     

    For example Total Case Assigned

    2 stanwell

    2 caroline

    2 beth

    totaly 3 rows are there so i need to filter those 3 rows from total column and then sort it alphabetically of their name for assigning the case

    So i want to take the count of total column how many of them are there in the value 0 1 2 3 likewise. 

    I want to implement in this way.

     

  • Verified answer
    Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    Have the count and the name in different columns. Then as I said in my previous reply use an inner sort to sort by name and then an out sort to sort by total.  The resulting list will be

    2 beth

    2 caroline

    2 stanwell

    So the first record will be beth.  If beth had 3 cases then the sort I've described would give you this

    2 caroline

    2 stanwell

    3 beth

    So now caroline is the first record.

  • Verified answer
    Priyanka03 Profile Picture
    on at

    @Pstork1 ,

     

    I did sorting and put inside apply to each its coming the right value.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard