Expand my Community achievements bar.

Wondering how Workfront Proof works? Join our AMA on May 8th and ask our Community experts!
SOLVED

Next Subtask Column in Task Report

Avatar

Level 4

I have built a task report that is pulling in tasks that have a specific custom form field on them. The tasks with the custom form field are parent tasks with the name of the deliverable, so there are lots of subtasks. I would like to add a column that lists the next subtask that is ready. I want to be able to see which subtask is next. I have done this on project reports before, but that text mode doesn't work in this report. 

 

This is what I use on my project reports....

description=Tasks Ready to Start
displayname=Next Task(s)
listdelimiter=<div>
listmethod=nested(tasks).lists
type=iterate
valueexpression=IF({canStart}&&{status}!='CPL'&&{status}!='NOT'&&{numberOfChildren}=0,CONCAT("•",{name}))
valueformat=HTML

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

If you look at the API explorer, the collection of tasks under your parent task will be referred to as "children" so it might be as simple as changing your "nested(tasks)" line to "nested(children)". I don't know if I should point out that this only acts on the next level down, so if you have grandchildren tasks or great-grandchildren tasks, you may observe that these tasks are left out.

 

Screenshot 2025-04-04 115325.png

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

If you look at the API explorer, the collection of tasks under your parent task will be referred to as "children" so it might be as simple as changing your "nested(tasks)" line to "nested(children)". I don't know if I should point out that this only acts on the next level down, so if you have grandchildren tasks or great-grandchildren tasks, you may observe that these tasks are left out.

 

Screenshot 2025-04-04 115325.png

Avatar

Level 4

Thank you! Adding children does work, but you are right, it does not show if there are grandchildren or great-grandchildren tasks. 

Avatar

Community Advisor

 

Hi @JHulet,

 

If, in addition to seeing just the Children Tasks that Can Start, you'd also like to see all Tasks (including grandchildren, great-grandchildren, siblings, cousins, etc.), I invite you to consider this thread.

 

Regards,

Doug