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 / Auto assign a Microsof...
Power Automate
Unanswered

Auto assign a Microsoft Planner task to a list of project team members dependent on a project code

(0) ShareShare
ReportReport
Posted on by

I have created a flow that creates a planner task when an email is flagged through Outlook, however I would like the task to be auto-assigned to a team member dependent on the project code that they are responsible for.

 

For example, Lucy is responsible for project code 1008 and Stephanie is responsible for project code 2008. When a planner task is created it pulls the subject line from the email which is the project code. 

 

I assume I need to create a SharePoint list which I have done and includes their names and email addresses, however I am unsure how to create a flow to reflect this. 

 

Please could someone help? 

Categories:
I have the same question (0)
  • jinivthakkar Profile Picture
    4,187 on at

    @Anonymous my list

     

    jinivthakkar_0-1614005396545.png

    my flow

    jinivthakkar_1-1614005448612.png

    Details:

    I have hard coded the subject/project code and filter query is column eq output from subject action

    jinivthakkar_2-1614005492074.png

    jinivthakkar_3-1614005556949.png

    Assigned to has value of EmailID column for the record

     

    Task assigned to me 

    jinivthakkar_4-1614005633009.png

     

    You can add all these actions after checking condition in Yes block and before you create the task.

     

    Hope this helps.

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

     

     

     

     

  • Community Power Platform Member Profile Picture
    on at

    @jinivthakkar Thank you again. 

    I have over 20 project codes so I don't want to hard code each one. What can I put for inputs?

  • jinivthakkar Profile Picture
    4,187 on at

    @Anonymous I have hard coded values to show you the poc, you set inputs value to subject which is your code OR you could skip the action and directly filter with Subject value.

     

     

  • Community Power Platform Member Profile Picture
    on at

    @jinivthakkar I have completed the flow however receive this error message. 

    SPP009 is the project code added to the SharePoint list and is within the subject line.image.png

  • jinivthakkar Profile Picture
    4,187 on at

    @Anonymous please can you share screenshot of list with item record ?

  • Community Power Platform Member Profile Picture
    on at

    image.pngimage.pngimage.png

  • jinivthakkar Profile Picture
    4,187 on at

    @Anonymous The value in list is SPP009 - Repayments and the value in your filter where you are getting error is SPP009Repayments, please pass correct value in filter query and it should work.

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • Community Power Platform Member Profile Picture
    on at

    Hi @jinivthakkar 

     

    The name in the list and the subject line is the exact same, so I'm not sure what I need to change?

    image.pngimage.png

  • jinivthakkar Profile Picture
    4,187 on at

    @Anonymous 

    jinivthakkar_0-1614015470049.png

    Here the value should be  SPP009 - Repayments.

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

     

  • Community Power Platform Member Profile Picture
    on at

    @jinivthakkar 

     

    The 'Sanitise' variable is the subject of the email

    The output is 'Compose 2' which is the subject. 

     

    image.png

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 305 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 155 Most Valuable Professional

Last 30 days Overall leaderboard