Call Us Today! 1-800-895-3254
[email protected]
Microsoft Training
Integent offers a comprehensive portfolio of training services, with an ideal fit for every organization. Ranging from general courses to custom solutions, we have you covered.
Learn About TrainingSee Full list of Courses
Microsoft Consulting
Integent provides consulting services for a variety of Microsoft applications including Microsoft Project, Project Online, Project for the Web, Dynamics 365, and Microsoft SharePoint.
Learn About Consulting
Microsoft Support
Microsoft technologies set the standard for project portfolio management, business applications, collaboration, and more. Integent has flexible solutions to support every customer.
Learn About Support
Microsoft Project
Integent has the knowledge and experience to help design and deploy a solution to help your organization manage projects and resources more effectively
Learn More About Microsoft Project
Microsoft Dynamics 365
Integent can help you nsure business continuity with a custom cloud solution that connects sales, service, finance, and operations teams to deliver results.
Learn More About Dynamics 365
Microsoft SharePoint
SharePoint is Microsoft’s collaboration platform that is a place where team members can communicate, exchange data, share files and much more.
Learn More About Microsoft SharePoint
Microsoft Power Platform
Consisting of Power BI, Power Apps, Power Automate and Power Virtual Agents, the Microsoft Power Platform helps streamline and improve business functions.
Learn More About The Power Platform
About Integent
Integent was founded in 2009 on the principles of building long-lasting relationships with customers, exceeding expectations, and providing outstanding customer service. 

We’re dedicated to providing a customized solution backed by our knowledgeable team of Microsoft experts.
Discover What Makes Us Different
GSA Schedule
Integent is GSA Schedule Contract holder. A GSA schedule helps simplify selling our services to government customers.
Read More Here
News
Stay informed on Integent’s latest company updates and other important industry information. Our passion is customer success.
Read The Latest News
Videos
Learning new software doesn’t have to be difficult with our library of dozens of free training videos. Our video training always has something new.
Browse Our Training Video Library
Blog
Our industry experts share best practices and common pitfalls to avoid, in order to get the most out of your technology solutions.
Discover More

March 3, 2021

How to use Power Automate to create tasks in Planner from new tasks created in Project Online

High-level process to create the flow

In this video we demonstrate creating a flow with Microsoft Power Automate that is triggered from the Create a Task in Project Online trigger event.

Once triggered, the flow will check to see if a project in Microsoft Planner exists with the same name. If a project does exist, the flow will create any new Task(s) that triggered the event in the Planner project.

In addition to the Create a Task in Project Online trigger, the flow also uses the List groups I own and belong to Action in order to determine the Office 365 Groups the current logged on user belongs to. Once the list of Groups is returned, a Condition is implemented that cycles through the returned Office 365 group names to determine is one is named as the project in which new tasks are being created. If there is an Office 365 Group with the same name as the project in which tasks are being created, we list the plans (Microsoft Planner projects) that are using this Office 365 Group for membership.

After we obtain the list of Planner projects, we implement a Condition to determine if the title of one of the plans (value Title) is the same as the project being published with new tasks. If the title of one of the plans is equal to the project in which tasks are being created, the Create a Task action is executed. The Create a Task Action will use Group Id and the Plan Id to isolate the correct planner project in which new tasks will be created.

The tasks will be created using the identical name of the Project Online tasks. In order to ensure this, the Task name returned from the Create a New Task trigger results returned is specified as the Title in the Create a Task action for Planner. Upon completion corresponding tasks are created in the correct project in Planner that match the tasks in Microsoft Project Online.

The Tools

Project Management

Since project management requires thorough communications and collaboration, using Power Automate to automate repetitive processes can help ensure success.

Microsoft Teams

Microsoft Teams provides a hub for every day work. Users may deliver professional and engaging experiences with Dynamic view, PowerPoint live and Present mode. Live events is a great way to deliver live webinars to users for training and knowledge-sharing purposes.

Microsoft Project Professional

Microsoft Project Professional helps project managers organize work, as well as manage and track both small and large initiatives. Projects may be planned with the benefit of a powerful scheduling engine, able to calculate accurate completion dates based on task dependencies. The Project Online desktop client is a tool that provides project managers the ability to bring projects in on-time and on-budget. Create a project plan with a task list to track everything from your daily work, to a complex CRM upgrade. Work collaboratively with resource managers to understand the demand on resources and the impact of moving resources between projects.

Microsoft Planner

Planner is a great tool used to organize work with visual task management. Create Kanban boards using task cards with checklists, labels, images and attachments/files. Check status of your plans with visual status charts. Planner is very intuitive and will allow users with no experience to start using the tool immediately. Add a new task, add a task description, add an image to provide the ability to quickly identify a task.

Power BI

Power BI helps organizations engage and visualize data directly. Power BI helps your team easily explore analysts and create reports and dashboards.

Step by Step procedure to create the Power Automate Cloud Flow

  1. From flow.microsoft.com click Create to build the new flow

     

  2. Select Automated cloud flow from the blank options

     

  3. In the Build an automated flow dialog box, Specify a Flow name.
    - Next, type “Project” in the Choose your flow’s trigger search box. From the retrieved triggers, select When a new task is created.
    - Click the Create button

  4. in the When a new task is created Action, do the following:
    - Paste the URL to your Project Web App site in the When a new task is created Root Site URL text box.
    - Click New step

  5. Type “Group” in the search connectors and actions search box

     

  6. Under Actions, locate and select the List groups that I own and belong to from the available actions.

    - No config is necessary for this action

  7. Click the New step button.

  8. Locate Condition under the available Actions and select it.

     

  9. In the Condition action settings, for the Choose a value on the left select Project Name in the When a new task is created group of retrieved values on the Dynamic Content tab.

     

  10. Leave the operator as is equal to

  11. For the Choose a value on the right, select Name (O365 group name).

  12. In the If yes box on the left, click the Add an action link

     

  13. Type Planner in the search connectors and actions search box.

     

  14. Locate List plans for group under the available Actions and select it

  15. For Group Id, click the drop down list box and scroll to the end to select Enter custom value

    - Locate and select Group Id in the Dynamic content tab under the List groups that I own and belong to section.
    - Click the Add an action link under the List plans for group action

  16. Locate Condition under the available Actions and select it.

    - Locate Condition under the available Actions and select it.
    - In Choose a value on the left, locate and select value Title in the List plans for a group section of the Dynamic content.

  17. If the condition block closes, click on it again to open it

    - In the Choose a value on the right, locate Project name in the When a new task is created section and select it.

  18. In the If yes block under the condition just created, click the Add an action link

     

  19. Type "Planner" in the search connectors and actions search box.

     

  20. Locate the Create a task action and select it from the retrieved actions.

  21. For Group Id, click the drop down list box and scroll to the end to select Enter custom value

     

  22. From the Dynamic content list, under the List groups that I own and belong to section, locate and select Group Id

     

  23. For Plan Id, click the drop down list box and select Enter custom value

     

  24. In the Dynamic content section, select value Id in the List plans for a group section

     

  25. For Title, select Project name in the When a new task is created section.

     

  26. In Start Date Time, select the Expression link and paste in the code below

    formatDateTime(triggerBody()?['TaskStartDate'],'yyyy-MM-ddTHH:mm:ssZ')

  27. in the Due Date Time , select the Expression link and paste in the code below

    formatDateTime(triggerBody()?['TaskFinishDate'],'yyyy-MM-ddTHH:mm:ssZ')

  28. Click the save link in the top-right to save your flow

     

  29. If you have any errors check and correct your flow

     

  30. When clear of errors click the Test link in the upper right.

     

  31. Select the radio button for Manually, then click the Save & Test button

     

  32. Now add a task to a project in Project Online and publish it.

     

  33. After a few minutes your flow should run successfully and create the new task on a corresponding project in Planner.

     

  34. Note, you will need a project in planner with the same name in order for the flow to function properly

     

© Copyright 2023 | Integent.com | All Rights Reserved
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram