My take on Task Management (w/Sub Tasks)

I’ve recently started migrating my non-recurring tasks and the one’s which I don’t need notifications to Anytype

I have a Master Tasks set which lists all top level tasks. I’m using the Linked Projects relation that comes with the built-in tasks type to differentiate between top level tasks and sub-tasks. So the Master Task Set has a filter of Linked Project Is Empty which should filter out all the sub-tasks from the set


Each task will then contain zero or more sub-tasks which are added as a list of objects to the Tasks relation of the top level task. Each tasks page also contains a link to a separate Set which lists the sub-task of this particular task. In this case, The Accounts to be deleted task links to an Accounts to be deleted Set which lists the sub-tasks of this task. I’m hoping to replace this link to the set with an Inline set once it is available


The linked set will then contain the list of sub-tasks along with other information for each sub-tasks. I’m using the filter Linked Project Is Accounts To Be Deleted which lists only the sub-tasks of the Accounts to be Deleted tasks


This way I could have a view of all my top level tasks as well as sub-tasks for each top level tasks. This can be used for sub-tasks of any level of depth :grinning:

25 Likes

@lynxlove This is amazing, thank you for sharing. Please keep us posted as you go!

1 Like

This looks great !

I’m wondering how you show elements from your sub-tasks set in your Accounts to be deleted task tho ?

Cheers

It is actually the inverse. I create separate sets to display only sub-tasks of the parent task

The minimum relations required for this workflow is:

  • Parent Task: Link to a parent task; Empty if parent task / root level task. This was the Linked Projects relation from my original post
    • Type: Object
  • Sub Tasks: List of sub-tasks; Empty for leaf level task. This was the Tasks relation from my original post
    • Type: Object

I’ve renamed the above relation names to better understand the workflow :smile: You can then add any number of relations you require such as the description, assigned to, etc.


Creating a Task without any sub-tasks

  1. Create a new page of the task type
  2. Fill meta data such as title and any optional relations you’ve added
  3. The parent task relation should be empty since this is a root level task
  4. The sub tasks relation should also be empty since this does not have any sub-tasks

Creating a Task with sub-tasks

  1. Create a new page of the task type. Let’s say the name of the parent task is X
  2. Fill meta data relations
  3. In the sub tasks relation, add the list of task objects that are sub-tasks to this task. You can add one if already available or create a new one if required.
    Creating a sub-task
    1. Create a new page of task type
    2. Fill meta data relations
    3. In the parent task relation, add a link to the parent task of this task. i.e, the parent task relation of each sub task should contain a link to the page X since that is the parent task of this task
    4. The sub tasks relation should be empty since this does not contain any sub tasks.
  4. The parent task of this should be empty since this is a parent task

The trick here is that each sub tasks should be pointing to the parent task by assigning it to the parent task relation


Creating a set of Parent / Root level tasks

  1. Create a set of task type. This would now display all tasks including sub tasks
  2. Add a new filter as: Parent task is Empty to filter out all sub-tasks since sub tasks will have a link to a parent task and only parent task objects have this relation empty

Creating a set to display only sub tasks of a particular task(X)

  1. Create a set of task type. This would now display all tasks and sub tasks
  2. Add a new filter as: Parent task is <X>. This would then only display objects which has the parent task value set to X

Now, to answer your question, since sub-tasks are actually added to the sub tasks relation of the parent task, they are getting listed when opening the task page. I’m planning to remove that and replace it with an inline set of sub-tasks once they get released :smile: I’ll update this post with screenshots once updated.

You can use the above technique to create sub-tasks of any level. So sub-tasks can inturn have several subtasks themselves :wink:

Adding links to the parent task in each of the sub tasks is something that is important to this workflow and something that has to be done manually for each new sub tasks. However, once backlinking ( In the roadmap ) is released, this would be automated so creating tasks and sub tasks would become much more easy and intuitive.

I hope this made it clear, if not, kindly let me know and I’ll update the post with a screen recording later

9 Likes

Sorry for the delay !
Thank you it is very clear.

I think that would work nicely with this:

So you’d be able to see all top-level tasks, and if you want you can expand and see the subtasks right there.

2 Likes

Please do so :wink: Seems a great functionality idea, but too complicated to comprehend (at least for me :sweat_smile:)

1 Like

I want to implement your method of task management.

How do I add a relation with a “list of objects?” Do I have to manually add a separate relation for each subtask?

Thanks!
Jim

1 Like

I found the solution. I can add multiple objects to a relation.

Hi @lynxlove Did you make a brief video at all. I think what you have done sounds like what I’d like to replicate but I need a bit of visual help. cheers Ian

1 Like