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 project Published...
Power Automate
Answered

When project Published on Project Online create a task and stop duplication

(0) ShareShare
ReportReport
Posted on by

Hi Guys,

I have managed to create a flow to create tasks when project published on Project Online. The problem is each time I publish the project, flow keeps duplicating existing ones. Top stop this I have retrieve the task on planner and check the planner task name against project task names. But the condition always get "false" status. See the attached screenshots. Any help would be really appreciated.

 

Capture1.PNG

Capture 2.PNG

Capture 3.PNGCapture 4.PNG

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Please use the length() function to determine the value of List tasks whether equal to 0:

    Annotation 2019-11-07 163932.png

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on at

    Thanks for reply. now the i get the flow works. 

    When very first time runs the flow, the Planner is empty. Then flow stop there. 

    How can I check the Planner Task list empty or not? 

     

    I used this but it doesn't work
     
    empty(body('List_tasks'))
     
    Thanks you very much for your great support!!Capture 6.PNGCapture 7.PNG
  • v-litu-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Please have a try to create another Apply to each action, and the put the Output of Select into it, and then put item()?['TaskName'] in the left of the condition:Annotation 2019-11-06 094854.png

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard