Text mode to display a predecessors actual task name in a report | Community
Skip to main content
Level 4
October 3, 2024
Solved

Text mode to display a predecessors actual task name in a report

  • October 3, 2024
  • 1 reply
  • 1106 views

looking to have the actual pending predecessors name display in a task report instead of just the task number that is the predecessor. 

Best answer by RandyRoberts

If you're in a task report, you can remove the "task" part of

listmethod=nested(task.predecessors).lists

so it reads 

listmethod=nested(predecessors).lists

 That sample is for an Assignment report

1 reply

RandyRoberts
Community Advisor
Community Advisor
October 3, 2024

I use the following to display the predecessor and successor with the task number, name, primary assignee, and planned completion date.

 

displayname=Predecessor(s) listdelimiter=<br> listmethod=nested(task.predecessors).lists textmode=true type=iterate valueexpression=CONCAT("(Task#: ",{predecessor}.{taskNumber},") - ",{predecessor}.{name}," - ",{predecessor}.{assignedTo}.{name}," - ",{predecessor}.{plannedCompletionDate}) valueformat=HTMLdisplayname=Successor(s) listdelimiter=<br> listmethod=nested(task.successors).lists textmode=true type=iterate valueexpression=CONCAT("(Task#: ",{successor}.{taskNumber},") - ",{successor}.{name}," - ",{successor}.{assignedTo}.{name}," - ",{successor}.{plannedCompletionDate}) valueformat=HTML

 

TIP: if this solved your problem, I invite you to consider marking it as a Correct Answer to help others who might also find it of use.
If you like my content, please take a moment to view and vote on my Idea Requests: https://tinyurl.com/mysocalledideas

 

Level 4
October 3, 2024

unfortunately that doesn't seem to be working.  the columns are empty.

RandyRoberts
Community Advisor
RandyRobertsCommunity AdvisorAccepted solution
Community Advisor
October 3, 2024

If you're in a task report, you can remove the "task" part of

listmethod=nested(task.predecessors).lists

so it reads 

listmethod=nested(predecessors).lists

 That sample is for an Assignment report