Repeat data in Microsoft Word

You can repeat rows, tables, and sections in Microsoft Word.

Repeat rows

  1. Add the Generate document action to the workflow and open the action configuration panel. For more information, see Add, rename, and copy actions.

  2. Configure the Document templates section so that there is at least one template and corresponding Output file name.

  3. In the Repeating data section, click Add repeating data.

  4. Specify a Collection.

  5. From the Repeat by drop-down, select Row.

  6. Click Open Nintex Document Tagger.

    The Nintex Document Tagger opens in a separate browser window and shows all tags for the workflow you are editing.

    Collections specified in the Repeating data section of the configuration panel and their child parameters are displayed in the Repeating data section of the Nintex Document Tagger.

  7. In the Show tags for section, click Word.

  8. In the Workflow repeating data section, click Row, and then locate the collection that you want to be repeated in the document.

  9. Click the Start tag for the collection to copy it, and then paste it into your Word document.

    Example: The tag would be: <<Case_Start>>

    This tag will prompt Nintex Automation Cloud to produce a new row of data for each child record of the collection.

  10. Once the tag is placed in your Word document, you can assign other tags to the columns within your table.

    Note: Collections nested in a parent collection are not supported.

  11. The tagged document below is what we'll use for our Word example. When we run the workflow, you should receive multiple rows of data with the Case information.

  12. Save the Word document.

    The Microsoft Word output is shown below. As you can see, three rows of data that are related to the Acme Co. account were added into the document.

Repeat tables

  1. Add the Generate document action to the workflow and open the action configuration panel. For more information, see Add, rename, and copy actions.

  2. Configure the Document templates section so that there is at least one template and corresponding Output file name.

  3. In the Repeating data section, click Add repeating data.

  4. Specify a Collection.

  5. From the Repeat by drop-down, select Table.

  6. Click Open Nintex Document Tagger.

    The Nintex Document Tagger opens in a separate browser window and shows all tags for the workflow you are editing.

    Collections specified in the Repeating data section of the configuration panel and their child parameters are displayed in the Repeating data section of the Nintex Document Tagger.

  7. In the Show tags for section, click Word.

  8. In the Workflow repeating data section, click Table, and then locate the collection that you want to be repeated in the document.

  9. Click the Start tag for the collection to copy it, and then paste it into the header row or column of your Word document.

    Example: The tag would be: <<Case_Start>>

    This tag will prompt Nintex Automation Cloud to produce a new table of data for each child record of the collection.

  10. Once the tag is placed in your Word document, you can assign other tags to the rows or columns within your tables.

    Note: Collections nested in a parent collection are not supported.

  11. The tagged document below is what we'll use for our Word example. When we run the workflow, you should receive multiple tables of data with the Case information.

  12. Save the Word document.

    The Microsoft Word output is shown below. As you can see, three tables of data that are related to the Acme Co. account were added into the document.

Repeat sections

  1. Add the Generate document action to the workflow and open the action configuration panel. For more information, see Add, rename, and copy actions.

  2. Configure the Document templates section so that there is at least one template and corresponding Output file name.

  3. In the Repeating data section, click Add repeating data.

  4. Specify a Collection.

  5. From the Repeat by drop-down, select Section.

  6. Click Open Nintex Document Tagger.

    The Nintex Document Tagger opens in a separate browser window and shows all tags for the workflow you are editing.

    Collections specified in the Repeating data section of the configuration panel and their child parameters are displayed in the Repeating data section of the Nintex Document Tagger.

  7. In the Show tags for section, click Word.

  8. In the Workflow repeating data section, click Section, and then locate the collection that you want to be repeated in the document.

  9. Click the Start tag for the collection to copy it.

    Example: The tag would be: <<Case_Start>>

    This tag will prompt Nintex Automation Cloud to produce a new section of data for each child record of the collection.

  10. In your Word document, navigate to Developer tab > Controls section.
  11. Note: Make sure that the Developer tab is visible in your ribbon.

  12. Click Add a Rich Text Content Control to add the control to your document.
  13. A text box is inserted into your Word document.

  14. Click the Rich Text Content Control box to highlight all the fields.
  15. In the ribbon, navigate to Developer tab > Controls section > Properties.
  16. Add a title and paste the Start tag that you copied from the Nintex Document Tagger.
  17. Click OK.
  18. Add more tags to the Rich Text Content Control box.
  19. Note: Collections nested in a parent collection are not supported.

    The tagged document below is what we'll use for our Word example. When we run the workflow, you should receive multiple sections of data with the Employee information.

  20. Save the Word document.

    The Microsoft Word output is shown below. As you can see, three sections of data that are related to the Acme Co. account were added into the document.