Skip to main content

For all our form submissions I track the outcomes of every task as they're completed and write it back into the form itself. This way if any tasks or workflow history is deleted in the future, or the forms need to be moved, the audit trail stays in tact. 

 

The workflow history is a HTML table.

3263i23AF1C4658B1B3A9.png

 

When I tag a document for document generation all the HTML is removed and I'm left with a block of text.

3264i02C3AE70FE73EBE7.png

 

I'd like to keep the format of my HTML table because it's so much easier to read. Does anyone know of a way to insert a html table into a word document when using the Document Generation action?

@DocFather_Ray  or @rickdemarco may know.



 



I think the text coming from the workflow is text-based. Ideally, this is an MS Word formatting issue and you would need to create a table structure within the action to then doc gen the information as a table.  Lets see what they may come back with.


For now I'm using a web service action to send info to an Azure runbook, bring back the table as a collection and then use the table function in the Document Generation action. Not sure how else to approach it. 


@elko thats actually a good approach for the table. If the data is available in the workflow as a table, then the output would be on the document generation action to complete.


is the table straight html in a multi-line text column in the SharePoint list?
yes, exactly as you have described

can confirm, looks like table rich text/html isn't supported in document generation 


@Warwick I'm tagging one of our DG PMs @SamSysum to see if he can chime in on this.


@Warwick - @eharris04 is correct, unfortunately at this time we do not support Rich Text/HTML in the DocGen Action. This is something we have in our Backlog, we'll keep you posted as we get closer to implementing support. 


Rich Text is supported, it's just very buggy and half baked currently. Support for UL and OL, BR and P seems to work, but not much else and if you don't clean up classes and style via regex the action always fails


Is Rich Text support also available for DocGen in Nintex Workflow Cloud? I can't seem to get this to work (or maybe I'm missing something). I'm pushing the Rich Text tags into my document using a Workflow Variable. 


, unfortunately, that is not supportted at this time. See the earlier thread by one of our PMs  https://community.nintex.com/t5/Nintex-for-Office-365/DocGen-and-inserting-html-into-document/m-p/104143/highlight/true#M12086


Reply