I’m trying to list the tasks in a hierarchy or list with their source page name, but I would like to exclude the child nodes inside a task if it has any.
And you’re sure that doesn’t leave out tasks which are supposed to be there? I might have been wrong on the syntax for the map, but using filter I’d reckon it would only pick those tasks not having children/sub-lists from the start…
Along with removing the children, I should also set the parent to “0” or “null”, so that it doesn’t consider that the item is already added from its parents.