Next Subtask Column in Task Report | Community
Skip to main content
Level 3
April 4, 2025
Solved

Next Subtask Column in Task Report

  • April 4, 2025
  • 1 reply
  • 520 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by skyehansen

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.

 

1 reply

skyehansen
Community Advisor and Adobe Champion
skyehansenCommunity Advisor and Adobe ChampionAccepted solution
April 4, 2025

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.

 

JHuletAuthor
Level 3
April 4, 2025

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

Doug_Den_Hoed_AtAppStore
Community Advisor
Community Advisor
April 7, 2025

 

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