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 Automate - Building Flows
Answered

How to update tasks by label/category

(0) ShareShare
ReportReport
Posted on by 24

Hello!

 

I am new to Power automate, and would very much appreciate any help.

I am trying to update tasks in teams using PA, but only tasks that have a specific label (category 1 - pink label).

 

However, when trying to pull these, icannot seem to identify. Please see screenshot. Any idea why?

 

polywantacracke_0-1639380769210.pngpolywantacracke_1-1639380823684.png

 

I have the same question (0)
  • fchopo Profile Picture
    8,001 Moderator on at
    Re: How to update tasks by label/category

    Hi @polywantacracke 

    You could use the field "appliedCategories" to check for labels:

    categories.png

     

    In this sample, I check that the task contains a "label" or category called Equipment.

    Hope it helps!

    Ferran

  • polywantacracke Profile Picture
    24 on at
    Re: How to update tasks by label/category

    Thanks! this is helpful.

    However, i still have some issues. What I'm attempting to do is update tasks due date from an excel table, but only tasks that have a certain label. When I try to use to use a condition, it still updates all my tasks, regardless of the label. I assume I have something mixed up here..

     

    polywantacracke_0-1639466271904.png

     

     

  • Verified answer
    fchopo Profile Picture
    8,001 Moderator on at
    Re: How to update tasks by label/category

    You're using an incorrect condition (I'm able to read something like "value Pink"...).

    Replace the if condition with the following:

    items('apply_to_Each')?['appliedCategories'] contains your_category_name

    Hope it helps!

    Ferran

  • polywantacracke Profile Picture
    24 on at
    Re: How to update tasks by label/category

    Thanks! changing the condition does do the trick. My next problem (since you're so helpful::)) is updating a task in planner using values form a specific row. Any idea what fields to put in so it takes the output from the "get row"?

     

    polywantacracke_0-1639490719978.png

     

     

  • fchopo Profile Picture
    8,001 Moderator on at
    Re: How to update tasks by label/category

    Hi,

    You should create a new column in your Excel file with 3 possible values: "Not started", "In progress", "Completed", and then use the row value when updating the task.

    Hope it helps!

    Ferran

  • polywantacracke Profile Picture
    24 on at
    Re: How to update tasks by label/category

    Thanks. I want to update the due date, for which I already have a column in excel. But I don;t know how to refer to this column from this field:

     

    polywantacracke_0-1639491837016.png

     

  • fchopo Profile Picture
    8,001 Moderator on at
    Re: How to update tasks by label/category

    you should use:

    outputs('get_a_row')?['your_date_field']

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 691 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 431 Moderator

#3
developerAJ Profile Picture

developerAJ 266

Last 30 days Overall leaderboard