Suggestion: Task Hierachies

Hi,

Some suggestions (or questions, if this is indeed possible).

For my setup:

Almost every Task has a dependent Task that should only execute if the Task it depends on was successful.

So something like this:

  • [On Success] Export/Deploy on server1
  • [On Success] Restart/Reload service on server1
  • [On Success] Export/Deploy on server2
  • [On Success] Restart/Reload service on server 2
  • etc.

What would be nice is:

  • [On Success of Renewal] Export/Deploy on server1
    • [On Success of Parent] Restart/Reload service on server1
  • [On Success of Renewal] Export/Deploy on server2
    • [On Success of Parent] Restart/Reload service on server2
  • etc.

So that server2’s Tasks are not affected by server1’s tasks

Could potetentially also allow the top-level Tasks could be invoked in parallel.

Thanks, that’s an interesting idea and on the surface probably not too difficult for us to implement, where it gets interesting is if you let that hierarchy continue for sub-tasks etc, whilst also accommodating tasks that might always run (e.g. webhook reporting tasks).

I think there is a point though where you start to need a workflow engine as opposed to a simple sequential task execution agent (which is what we currently have), in part so you can fully visualize the flow and what did/did not complete etc.

I can see workflow optionally happening at some point in the future but I’m thinking it should probably be a handoff to a dedicated workflow product like n8n, with some kind of integration so we can report if it as completed or not.