AnsweredAssumed Answered

Layout interface for creating subtask outlines

Question asked by velocitytino on Apr 19, 2017
Latest reply on Apr 19, 2017 by philmodjunk

Okay, so I have a task list that I'm trying to create. I've got a pretty good handle on how tasks are implemented in Filemaker thanks to the starter solution, but there is a feature I didn't see in it that I would like to implement. Subtasks.

 

I looked around at some other questions people have asked, and it looks like you can give any task a (theoretically) infinite number of subtasks by creating a field for child tasks that stores the parent task's primary key (which would create a one-to-many relationship within the same table.) Since this is in the same table, each subtask could have its own subtasks and so on.

 

I think I understand how this is supposed to work on the back-end. But I'm not quite sure how someone would display this on the front-end for a user so that they could enter a task, then a subtask, then a subtask of the subtask (etc.) each with its own due date, description, and other information, and view it all as an outline (kind of like how Todoist does it.)

 

Basically it would display like this:

 

  • Task 1
    • Subtask 1
      • Sub-Sub Task 1
      • Sub-Sub Task 2
        • Sub-Sub-Sub Task 1
        • Sub-Sub-Sub Task 2
      • Sub-Sub Task 3
    • Subtask 2
      • Sub-Sub Task 1
    • Subtask 3
  • Task 2
    • Subtask 1

 

etc, with the ability to enter new sub-tasks, mark them completed, or delete them right there on the screen.

 

If there was a limited number of levels to a subtask, then this could probably be achieved with a few portals right next to each other, with filters based on the active record in the adjacent portal. If that's the best way to go about this, then I'll do that. I don't particularly like doing it that way because it places a limit on how far you can drill down (I really like breaking large tasks down into smaller ones).

 

Can what I'm describing be done, or do I have to use the adjacent portals method?

Outcomes