Expand my Community achievements bar.

Join us LIVE in San Francisco on November 14th for Experience Makers The Skill Exchange. Don't miss out on this free learning event!

Beautifying Word Doc Template That Includes Nested Data

Avatar

Level 2

Hello,

I am trying to create a template document that I will use to compile information about tasks and their subtasks from Workfront. The resulting document needs to be organized and easy to read for the end client. Currently I am trying to use the "Microsoft Word Template" aggregator to loop through my task information. The issue I have discovered is that module does not allow nested looping. For example, if my doc needs to include information on the tasks/subtasks:

- Mice

     -> Rufus

     -> Mickey

     -> Bernard

- Cats

     -> Thomas O'Malley

     -> Sergeant Tibbs

     -> Simba

-Dogs

     -> Goofy

     -> Pongo

     -> Copper

I can either use looping to capture the parent tasks of Mice/Cats or it can capture the subtasks, but if I want to get the subtasks for each parent task, there isn't a way to do this solely using the word module. The only way I've found to loop through both my parent and subtasks is to compile the subtask information using a text aggregator then using the aggregated output as a variable to use in my word doc. If I try doing that though, the word module will squash any attempt I make at formatting my text. For example, if I use a text aggregator and separate items with a newline, the word doc module seems to remove the newlines and replace them with spaces. Does anyone have any ideas on a way to compile nested data into one legible document? It does not have to be a word doc, just any kind of file that is easy for a human to read.

0 Replies