Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Using shift activities to assign tasks in planner on specific days to specific users.

(0) ShareShare
ReportReport
Posted on by 82

Hello, I am trying to build a flow that will populate user ID assignments into my planner board based on the activities my team have been assigned to in a shift schedule for today. 

 

For example, if my shift label in teams is "coldstore":

 

Step 1.jpg

 

And I've been assigned "picking" as an activity:

 

step2.png

 

Then I'd like to update all tasks that have a title that ends with "Pick" for that day

 

tasks.png

 

So far, I've built the following, but can't seem to get it to work. 

 

Flowstep1.png

 

And

 

Flowstep2.png

 

And

 

Flowstep 3.jpg

 

And

Flowstep4.png

 

And

 

Flowstep5.jpg

 

And then

 

Flowstep6.png

 

And lastly

 

Flowstep7.png

 

Any help is greatly appreciated. 

  • craigmk1987 Profile Picture
    82 on at
    Re: Using shift activities to assign tasks in planner on specific days to specific users.

    Hi Rimatos,

     

    Thank you for your response - I have since found that as well - but thank you for pointing it out. 

     

    I have been trying to assign multiple users to one task that is generated by flow, by using the following example

    https://powerusers.microsoft.com/t5/Building-Flows/Adding-multiple-assigned-to-planner-tasks-and-outlook-event/m-p/108359#M10611 but I keep getting the error to say that the output is a "string" rather than "array" and the assigning of the users falls over. Any suggestions?

     

    Thanks,

    Craig

  • Verified answer
    rimatos Profile Picture
    on at
    Re: Using shift activities to assign tasks in planner on specific days to specific users.

    Hi @craigmk1987 ,

    I can see in the last step that you are attempting to assign the task using the "Display name". 

    When looking at the Planner connector documentation, and more closely to the Update a Task action, we can verify that this field requires to have the Email address added.

     

    rimatos_0-1598344731783.png

    Check if by changing the dynamic content you are able to successfully assign the user to the task. You can even create a separate Flow more simpler and hard code the value to confirm if this is indeed the way to achieve this.

     

    Hope this helps!

  • craigmk1987 Profile Picture
    82 on at
    Re: Using shift activities to assign tasks in planner on specific days to specific users.

    Hi Ricardo,

     

    thanks for the reply. Unfortunately that didn’t resolve my issue...but I decided perhaps I was looking at this incorrectly - that perhaps I should create the assignment when the task is created by using a delay and then to assign the activity to the task. I manage to get the task to create, however it’s not assigning to the user as I had intended:

    Step 1 

    Step 2 

    Step 3 

    Step 4 

     

    The output ends up having no task assignment. 

    I am sure there is something simple I’m missing

  • rimatos Profile Picture
    on at
    Re: Using shift activities to assign tasks in planner on specific days to specific users.

    Hi @craigmk1987 ,

     

    Could you pinpoint in your Flow where exactly are you facing the unexpected behavior and what should be the expect output on your end?

     

    From my understanding you want to select all the activities for the day that contain the name "Pick".
    Being this the case, I would suggest you to change the logic from the condition and instead select the "contains" option.

    rimatos_0-1598284098027.png

     

    Let me know if this helped you in any way!

     

    Regards,

    Ricardo

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1