cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pi24
Advocate I
Advocate I

I can't get my Planner to update with recurring task from Todoist.

I have created recurring task in Todoist but when the task is completed it completes the task in planner but then it creates lots of duplications in Planner. Please can someone help me with this.

Kind regards

8 REPLIES 8
AlanPs1
Resident Rockstar
Resident Rockstar

Hi @pi24 

 

Please post a detailed picture of your Flow and I, or another will have a look and see if we can spot the reason for this.

 

If you find my posts helpful, please mark with thumbs up

 

Any questions, just ask.

 

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


pi24
Advocate I
Advocate I

Thank you for looking at this.

I have created a flows that creates and completes the Tasks and works but for some reason it doesn't trigger when the recurring task is created. So I created this flow to try and capture them but all it does is duplicate the Tasks in Planner 

 

flow part1.JPG

flow part2.JPG

  

AlanPs1
Resident Rockstar
Resident Rockstar

Hi @pi24 

 

Please consider the below as I have recreated the core principal of your Flow although not taken it to the end.

 

If you deploy this process you should get it working.

 

I have 2 tasks in Todoist:

 

AlanPs1_0-1572365099163.png

 

Your issue, Is that both planner are running "Apply to each" on "List Tasks" (Plural - more than one), this is causing your duplication and multiple tasks issue in Planner.

 

Please see the below images where I have targeted a single Task in Todoist and a similar approach can be deployed to Planner, if needed. Although just this should be the solution and a help in thinking the process through.

 

capture-439.PNG

 

Code needed to get to task name below:

items('Apply_to_each_Todoist_Task')?['content']

 

Here it runs and get's just one task, not many. You may have to target the task by name, somehow in a way that suits your process.

 

This proves as a success:

 

capture-440.PNG

 

I would advise, that you recreate this part firstly and target your named Task in Todoist, then push on with a similar trail of thought to Planner. Nested Apply to Each is not good practice in MS Flow.

 

If you find my posts helpful, please mark with thumbs up

 

If this solves your issue, please click "Accept as Solution"

 

Any questions, just ask.

 

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Hi 

 

I have tried it but I think because I have lots of tasks, I can't put all of them in. Plus some task belong to different projects. I tried to put in what I needed but it still duplicated but not as bad as last time. It could be that it needs a better interval time than 5 minutes. I am not sure. I have made a copy of what I have done. please can you look over it and tell me what i have done wrong.

 

 thanks

Kind regards

leigh

 

New flow part1.JPG

New flow part2.JPG

AlanPs1
Resident Rockstar
Resident Rockstar

Hi @pi24 

You are correct, maybe shorter interval times and perhaps other logic but as you have seen , there is less duplication.

 

I guess what you really need is the Todoist trigger "When a task is completed (V2)" but may not have a premium subscription. Please see below:

 

AlanPs1_0-1572443890937.png

{
  "message": "This is a Premium Only Feature. Upgrade to Todoist Premium for instant access to this feature.",
  "error_code": 32
}

So based on how many tasks you have and in how many projects and the volume of tasks that are closed per day or hour. It is very difficult to provide an accurate solution to your problem.

 

In essence, regardless of whether your Flow runs every 5 minutes, or 10 minutes or 1 hour there may be multiple closed tasks and you will need to use Flow to target 1 single Todoist task and have it create/complete 1 single task in Planner.

 

Whilst I can see potential ways to do this it's difficult to say verbatim how to do achieve a seamless approach to what you are trying to do, based on volumes, but this would be the logic.

 

Do you have access to 1 account in todoist with a premium subscription perhaps?


If you find my posts helpful, please mark with thumbs up

 

If this solves your issue, please click "Accept as Solution"

 

Any questions, just ask.

 

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Hi Alan

I do have Todoist premium.  I had to get it as I found I couldn't get this far otherwise. 

 

I have got when a completes a task. Should I have tacked your solution under that? At the moment I have three flows:

1. to create the task in planner

2. To complete the task in planner

3. To try to re-create task that recur. 

 

If you need me to send you a picture of my when a task is completed, I will

 

Kind regards

 

Leigh

 

AlanPs1
Resident Rockstar
Resident Rockstar

Hi @pi24 

 

As you have premium Todoist I would definitely use the trigger when a task completes.

 

It's the sure fire way to isolate 1 task from todoist then after that do your new steps.

 

I would advise starting that way and if you get stuck, perhaps post back or even better start a new thread as I expect based on what you are trying to do there will always be issues unless you trigger on the completion of a task. I expect anyway, I am not a todoist expert and not sure on recurring tasks but having tried all manner of approaches with recurrence in the past for other task something always slips through then net as there are too many variables.

 

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


HI @pi24 

I recreated the same flow as you but I get the following problems:

1) when I assign a task from Todoist I should see on planner the person I assigned the task to;

2) tasks are repeated several times.

 

has anyone by chance managed to solve it?

Thanks

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,232)