TomFrankly / pipedream-notion-recurring-tasks

4 stars 2 forks source link

Hi, Recurring Tasks Issue Screenshots #6

Closed Davca14 closed 6 months ago

Davca14 commented 6 months ago

I took screenshots as a starting point. If you need any additional info. let me know. 1 2 3 4 5 7

aholroyde commented 6 months ago

This is what I am seeing to!

TomFrankly commented 6 months ago

@Davca14 I believe this is happening because you've chosen "Next Due" in the "Next Due API" setting.

Next Due API is actually a separate property. If your tasks database doesn't have it, you'll need to create it and add this formula code:

if(test(prop("Next Due"), "Error") or empty(prop("Next Due")) or prop("Next Due") == false, "∅", "{\"start\":\"" + formatDate(dateStart(prop("Next Due")), "YYYY-MM-DD") + "\",\"end\":\"" + formatDate(dateEnd(prop("Next Due")), "YYYY-MM-DD") + "\"}")

Here's a reference if you need more detail: https://thomasjfrank.com/notion-automated-recurring-tasks/#formulas-and-properties – in the video there, you can see me create that property.

@aholroyde I'm guessing this is your issue as well!

Davca14 commented 6 months ago

Thank you so much, and I'm sorry not seeing before. Screenshot (505)

TomFrankly commented 6 months ago

@Davca14 no worries! This is good feedback; I'll push an update that explicitly looks for formulas that contain the code that Next Due API needs to have.