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 / When a task is complet...
Power Automate
Unanswered

When a task is completed -> Create a task (not working when using condition to specific a specific bucket)

(0) ShareShare
ReportReport
Posted on by

Hello

 

I am very new to power automate, and have only managed to get some basic flows to work.

 

My current aims are to make a flow that will copy a task when its marked as completed into another bucket.

 

Eg

Task is generated in "To do" bucket (task creator will assign their selves to the task and operators)

Once the Task is completed the Task is marked as completed

Power automate kicks in and generates a copy of the task into the data check bucket > with the task name, Notes and the task creator being assigned to it + new start and to do dates.

 

I have generated a flow for this, which works however it will do it for every task that is completed, so it ends up making many tasks in the data check bucket. I have attempted to generate a flow with a condition so it only runs if its from a specific bucket.

 

JoeG2_1-1611579676698.png

 

However when ever it runs it fails giving the following 2 errors

JoeG2_2-1611579731044.png

 

What am i doing wrong?

 

thanks

 

joe

 

 

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    Hi @JoeG2,

     

    I would use a different approach because you already know what the task is, because of the When a task is completed trigger action output. It shouldn't be necessary to retrieve the task again with the get task action.

     

    I have created an example below. You could use a trigger condition on the first action and check for the BucketId. This way you don't have to use the condition and the get task actions.

     

    1. Add a trigger condition to the When a task is completed which checks if the bucket is equal to ToDo. Replace the id of the expression with the id of your ToDo bucket. You can find this in the setting of the trigger action.

    @equals(triggerOutputs()?['body/bucketId'], 'dfmWRTfguEiZrAjILHwo1ZgADiE6')

    triggercondition_bucketid.png

     

    2. Move the create task and update task directly after that trigger. Use the dynamic values from the trigger action for the different fields and assign the Data Check Bucket value.

    createtask.png

     

    Let us know if this helps.

     

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard