I created a Flow that lists tasks in Planner and grabs tasks from a bucket by its ID from a filter array step. If the length of the array is greater than zero, I run an apply to each task step in that bucket to get the task and its details.
From there, I'll run an Excel step that add a row into an Excel table, recording the task ID and its bucket ID. The next step converts the task ID to an array. I then get the row of task IDs on the Excel form. Nothing's really happening here aside from recording the task IDs from the Excel form.
Here's a before pic that lists the tasks in Planner before something is added and the Excel form recording the existing task IDs in the bucket.
I then add a new task in Planner, run the Flow and the list of IDs in Excel is updated recording the new ID and the previous IDs again repeat.
How do I grab the task ID that is unique in the Excel form? I have been told to use Union to filter the unique ID, but it only gives me back the same array of values I started with. Is there another step I can add to this Flow to grab the new (unique) ID from the Excel list (9XlGeLN-7UqDSiwuF_qR1mQAPoPN)?