Workflow Soluiton

 View Only
  • 1.  Appending HTML Data to Generate PDF File

    Posted Feb 13, 2014 04:13 PM
      |   view attached

    I am trying to understand the best way to loop through a collection, format the array text, and append it to a temporary file prior to creating a PDF document from the data and emailing it. Any ideas? Normally, you would create a temporary variable to store each formatted record and once you were done iterating through the data, you would use that file to create your PDF document. 

    What is the best way to temporarily store this information? I've attached a screenshot of my workflow to give you a better understanding of what I am trying to accomplish.

    Thank you,

    Kevin



  • 2.  RE: Appending HTML Data to Generate PDF File

    Posted Feb 17, 2014 11:22 AM

    Have you tried using the Add Items To Collection component?  Put this after the Create HTML Data Element component in your workflow.   Would think you should be able to set the data type to text, specify a new array on the "array variable name" field and specify the output variable of the Create HTML Data Element component in your workflow.  Then you could specify the new array on the Convert HTML Data to PDF component.

    Hope this helps.



  • 3.  RE: Appending HTML Data to Generate PDF File

    Posted Feb 19, 2014 01:51 PM

    Did this work for you?