This workflow generates a dedicated report page for every supplier in the dataset. These pages are consolidated at the loop’s end, followed by the addition of a single global header at the very top of the final document.
Add a Report Template Creator node. Keep the default settings.
Add a Group Loop Start node and connect it to the Data Source output. Configure it to group on Supplier name.
Connect the Group Loop Start output to the Plots per supplier component.
Go inside the Plots per supplier component and click Open layout editor.
Tick the Enable reporting checkbox in the bottom left corner to enable reporting.
Repeat the previous two steps for the Header component.
Connect the output port of the Report Template Creator node to the input ports of both components.
Insert a Report Loop End node and connect the Plots per supplier component output to its input port.
Open the configuration and check the Insert page break between reports option, to that plots of each supplier is on a separate page.
Use a Report Concatenate node to add a header to the report.
Connect the output of the Header component to the top port, the output of the Report Loop End to the bottom port.
Leave the Insert page break between reports option in the configuration unchecked.
Add a Report PDF Writer node.
Configure the path where the PDF file should be written to as URL: knime://knime.workflow/../report.pdf
Upload the workflow to one of your KNIME Hub spaces.
Create a version of the workflow.
Create a schedule deployment of the workflow.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.