web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Planner + Flow - Creat...
Power Automate
Unanswered

Planner + Flow - Create a Task and adding Labels from completed Task

(0) ShareShare
ReportReport
Posted on by 4

Hi all,

 

First time really diving into Flow. I've almost got the Flow I want.

 

Basically, i'm creating an annual calendar within Planner. What i want to happen is:

 

When a task is completed:

1. A new task is created with the same title, description

2. The start/due date is moved exactly one year later

3. The label from the original task is also added to the new task

 

I have everything except #3 working. I figure the label settings below is where I need to work in. However when i try to enter the custom values I think it should be (Dynamic Content -> When a task completed -> Pink) and so on, the flow gets stuck on running forever and never finishes. 

 

task.PNG

Capture.PNG

Categories:
I have the same question (0)
  • MarvinBangert Profile Picture
    1,924 Most Valuable Professional on at
    Re: Planner + Flow - Create a Task and adding Labels from completed Task

    Hey @barrylam 

    can you please check again if your task really has a label "pink"? If it has no label assigned, the value will be empty, and your flow will stuck on this.

     

    Does this help you? Otherwise please give me some more information.

    Best regards
    Marvin

    If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.

    Blog: Cloudkumpel

  • barrylam Profile Picture
    4 on at
    Re: Planner + Flow - Create a Task and adding Labels from completed Task

    The one test task I tried does have pink.

     

    Actually that might be a clue. When I only input something in the first category ("Pink") and I complete a pink task it seems to work. When I select more than one (e.g. Pink and Red) in Flow, and choose the pink task, it gets stuck. Hope that makes sense. 

     

    If that's the case, how should i go about this?

  • Verified answer
    MarvinBangert Profile Picture
    1,924 Most Valuable Professional on at
    Re: Planner + Flow - Create a Task and adding Labels from completed Task

    Yes, maybe you should consider using an expression like this:

    not(empty(string(triggerOutputs()?['body/appliedCategories/category1'])))

    it checks if a category is empty, "Category1" = "Pink" (a complete list you will find here): Planner - Connectors | Microsoft Docs

    But the empty() expressions needs a string, array or object, so we transform our boolean (true / false) into a string. The empty() will return if the string is empty, so it would set the label, but we want to have it the other way around (if empty = no label, if not empty = label) so we add a not() to turn the output from true to false or false to true.

     

    So you would need to add this function in every possible label using the correct "Category".

     

    Does this help you? Otherwise please give me some more information.

    Best regards
    Marvin

    If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.

    Blog: Cloudkumpel

  • zacheryyyy Profile Picture
    2 on at
    Re: Planner + Flow - Create a Task and adding Labels from completed Task

    I am having a similar issue, I am trying to attach identifying data to a planner task. So I have edited the label to contain the ID number, my end goal is to automate an email to the recipient associated with that ID once the task is complete. That doesn't work with the true/false 

     

    Is there a way to pull the number from the label (below) & use that as the key value? Assuming that would trigger the email address for that row and then flow into that. @MarvinBangert let me know what you think? 

     

    IMG_FE5BB0F389BC-1.JPEG

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard