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 / Comparing a SharePoint...
Power Automate
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

 

Categories:
I have the same question (0)
  • roxy1 Profile Picture
    195 on at

    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

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard