Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Comparing a SharePoint List Task ID column to a Planner Task ID

(0) ShareShare
ReportReport
Posted on by 195

Hi,

I am trying to create a flow that runs monthly that compares a SharePoint List Task ID with a Planner Task ID. Any that do not have a match I would like an email to be sent with the task ID and title of task.

 

The reason for this is that we want to do a check to make sure that any list item that has been run to automatically create a task, has not had the task accidentally deleted from the planner.  Or a task wasn't created directly onto the Planner - as all tasks come directly from new list items via an automated flow. Unfortunately even with staff training this occasionally happens!

 

I have used a filter query on the "Get Items" for SharePoint to filter the data column for the list for the list for the past month, and used a filter to filter task by created date for the past month.

 

I also attempted to use a string variable to get the Task information in "TrackTasks"

 

(Please also note that the SharePoint list I mentioned does get updated automatically with the TaskID in a column when the task is created)

 

In my test flow below I am currently receiving emails to the address supplied - the first email contained one task title and ID but was not in the specified date range. It when sent more emails, each separate email had an additional incorrect task added to it!

 

roxy1_0-1666165452888.pngroxy1_1-1666165506136.png

 

  • roxy1 Profile Picture
    195 on at
    Re: Comparing a SharePoint List Task ID column to a Planner Task ID

    Sorry this was accidentally double posted and solved here:

    https://powerusers.microsoft.com/t5/Using-Flows/Comparing-a-SharePoint-List-Task-ID-column-to-a-Planner-Task-ID/m-p/1824698

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492