I have a Table with Subtask. They reference on to the same table.
Now i have a project template from which i want to copy selectet task with subtasks to the Task Table. It works, but i cant figure out how to make a relation in the Task table. Chat GPT didnt figure it out neither.
my code so far:
[Task Template].Filter(Add = True).ForEach(
AddRow(
Tasks,
Tasks.Titel, CurrentValue.Maintask, Tasks.Subtasks,CurrentValue.subtasks
)
)
Any Ideas?


