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 / Using shift activities...
Power Automate
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. 

Categories:
I have the same question (0)
  • rimatos Profile Picture
    on at

    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

  • craigmk1987 Profile Picture
    82 on at

    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

  • Verified answer
    rimatos Profile Picture
    on at

    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

    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

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard