cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GTNak
Frequent Visitor

MS Project to Planner: Create and/or Update Tasks

Hi good people,

 

I have been trying to create a flow that would allow tasks to be pushed from Project to Planner when I publish a project, with new tasks added and old ones updated with new dates. Right now I'm able to get tasks into Planner, but not update, and I end up with duplicates if I run it again, instead of updates....

 

Basic steps below:

 

When a Project is Published --> List Plans for a Group --> Condition: (Planner) Plan Name = (Project) Project Name --> If yes: (Project) List Tasks with Project ID -> (Planner) List Tasks with value ID --> Condition: (Planner) Task Title = (Project) Task Title --> If yes: Update a Task /// If no: Create a Task

 

Image references are attached, I've searched all over for a solution to this, but each one usually involved Excel or Outlook, but not Project. Any help would be much appreciated!

 

Page 1Page 1Page 2Page 2

3 REPLIES 3
Mira_Ghaly
Dual Super User II
Dual Super User II

@GTNak 

 i can see you are adding condition here ; have you checked the flow history to try to understand what might gone wrong

Mira_Ghaly_0-1618969649790.png

I also suggest if you can add compose data operation to display the values you are using in your condition , in order to check why your condition is not satisfied.

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
GTNak
Frequent Visitor

Hi Mira,

 

Thanks for your reply!

 

There are no errors when I run the flow and on first run it does what it should: populates the plan with tasks. But when I run it again instead of updating it more than doubles the tasks. I've done a bit more tinkering and it seems like it repeats adding new tasks once per existing task. Attached image of the first time its run on the Planner Plan and then the second time. I think the problem is the apply to each, how can I get rid of it and still use the condition?First RunFirst RunSecond RunSecond Run

 

 

 

 

 

dogan_tv3
Frequent Visitor

Hi @GTNak ,

 

Did you manage to solve this issue? Would you like to share your work? I'm about to start similar project and your work would be a good start.

 

Dogan

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,645)