Forum Discussion

VArik966's avatar
VArik966
Copper Contributor
Oct 11, 2022

Get task parameter from the "When creating a task" trigger in Power Automate

Hi all,

 

I have a question about MS Planner.

I would like to create a Power Automate flow to create a task in a plan B when a task in Plan A has the  pink flag.

I have some issues because when we create a task, we cannot use a flag on it. So I would like to create a task, upload it to flag and if it's pink, create the same task in another plan.

Unfortunately, when I use the trigger "When creating a task", I cannot get the parameters of this task I just created. Do you have any hint to do what I want?

 

Thank you

  • VArik966 Not using "When a new task is created" trigger.

     

    However, you can use scheduled flow which will run once daily (as per your requirements) OR manual flow on button click. This flow will:

    1. List tasks from specific plan - this will return AppliedCategories (Pink, Red, Yellow, etc.)
    2. Then you can use "Condition" action to check the category
    3. If it is pink, you can create a new task

    Check documentation link in above response for all available actions using Planner connector.


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

  • VArik966 As you are creating a task first and then assigning flag to it, you cannot get the flag details while using "When creating a task" trigger.

     

    Unfortunately, Planner connector does not have "When a task is modified" trigger. 

     

    Similar threadPlanner Trigger: When a task is modified 


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

    • VArik966's avatar
      VArik966
      Copper Contributor
      Hello @ganeshanap,
      Thank you for the answer.
      So if I understand, there is no way to solve my issue?
      • VArik966 Not using "When a new task is created" trigger.

         

        However, you can use scheduled flow which will run once daily (as per your requirements) OR manual flow on button click. This flow will:

        1. List tasks from specific plan - this will return AppliedCategories (Pink, Red, Yellow, etc.)
        2. Then you can use "Condition" action to check the category
        3. If it is pink, you can create a new task

        Check documentation link in above response for all available actions using Planner connector.


        Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources