# Round Robin Assigning Tasks to Users in Podio

Sometimes we want to reassign items to new users by simply clicking a button. Creating a round robin allow us to cycle through users easily and automatically. How do we go about doing that?

## Requirements

In order to create a round robin, we'll need to create a dedicated users app that will contain all our users that we will cycle through. Create a basic app with a contact field and a category field for status.

![Round Robin](https://www.progress.com/podio/documentation/assets/8618b3916406738e4e32a88ccbe77ebb/round-robin1.png)

Next, we will create a Podio View with all the users.

![Round Robin](https://www.progress.com/podio/documentation/assets/7cc6079144f387f04edaa285129af62e/round-robin2.png)

## Flow Details

Once a [Refresh from Podio](https://www.progress.com/podio/documentation/workflow-automation/get-and-collect-data/refresh-from-podio) has been completed, the workflows can be created.

1. **First**, create a new flow on our app where we want to reassign a new user. We will update the new user when we update our **Re-Assign** category field.

   ![Round Robin](https://www.progress.com/podio/documentation/assets/f044f305fc8c182b7b8a8d22e169cf9e/round-robin3.png)

2. **Next**, we'll want to get our **Podio View** of all the users and set up our custom variables.

   ![Round Robin](https://www.progress.com/podio/documentation/assets/e272ada16f91642fa7110aba530c33be/round-robin4.png)

3. **Next**, we'll loop through our users and find the current user and next user custom variables while clearing any current item with the status **Next User**:

   ![Round Robin](https://www.progress.com/podio/documentation/assets/a6c45b71d659e695ac3e8ce75243e4ac/round-robin5.png)

4. **Next**, we'll make sure that the **NextUser** has a value, or else use the **FirstUser** value instead. We'll loop through our **Users** again and update our new user as our **Next** user as well as update our **Task** item with our new user.

   ![Round Robin](https://www.progress.com/podio/documentation/assets/83aa29024817c9e0245b0ffd044f7455/round-robin6.png)

## Result

Now, when **Re-Assign** is clicked, the task will be assigned to the next user, in a round robin fashion.

![Round Robin](https://www.progress.com/podio/documentation/assets/bea94cc97b9900dff5ed96c35c77b41c/round-robin7.png)

Of course, you can change the trigger of the flow to suit your needs, eg on item creation, to assign each new item to the next person.
