Hello all,
I’ve been looking on the web for this answer and it seems like that either it is not possible or I cannot find it.
SCENARIO:
I have “TaskTemplateA”, with a set of the following tasks: “TaskA”, “TaskB” and “TaskC” (as far as I know these are called template tasks, because they are tasks that belong to a Task Template instead of an asset, shot etc.)
MY QUESTION:
How can I programatically get a list of all the tasks that a task template holds if I just have the TaskTemplate name (in this case “TaskTemplateA”)?
I have tried:
sg.find(“TaskTemplate”, filters = [‘code’,‘is’, “TaskTemplateA”], fields = [‘code’, ‘content’, ‘template_task’, ‘task_count’])
But it won’t return the task names.
Thank you for your help,
Kind regards,