cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kevin2017
New Member

How Can I Create Task By Turn ?

Hello,

 

I have a support team that I manage, I already build a flow process to assign task arrived by email to a person in planner.

but I want to assign tasks by turn for exameple , assign task X to person Z and  assign next task Y to person W.

how to do that in flow ?

 

Thanks in advance

 

flow.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
kevin2017
New Member

Hello, 

the solution I tought about is working great.

I'm using file from oneDrive to read and write value, and using condition with mod function to verify if the number is odd or not

using this expression  mod(int(body('Get_file_content')), 2), the file content in the start is 0.

and in the end of the flow I add a function that write in the document add(int(body('Get_file_content')),1)

I hope this can help someone to assing task bu turn.

 

note this is a temporary solution and not optimal, waiting for flow team to give us acces to latest created task and assigned user for last created task.

 

 

View solution in original post

1 REPLY 1
kevin2017
New Member

Hello, 

the solution I tought about is working great.

I'm using file from oneDrive to read and write value, and using condition with mod function to verify if the number is odd or not

using this expression  mod(int(body('Get_file_content')), 2), the file content in the start is 0.

and in the end of the flow I add a function that write in the document add(int(body('Get_file_content')),1)

I hope this can help someone to assing task bu turn.

 

note this is a temporary solution and not optimal, waiting for flow team to give us acces to latest created task and assigned user for last created task.

 

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,144)