Icon

02c Generating a testflow report

This workflow calls all the testflows, collects the testflow statuses and metadata, and generates a PDF report.
Step 2 : Collect all the testflow statuses and metadata

  1. Iterate over all the testflows:

    • Use Table Row to Variable Loop Start node to start the loop

      • Convert the Path column to the flow variable

    • Execute one testflow at a time in the loop body with Call Workflow Service node

      • Control the testflow path with the Path variable

      • Adjust node ports

    • Use Loop End node to complete the loop

  2. The rest of the workflow is pre-configured. Execute it to create the report.



Step 1 : Locate the testflows


  1. List all the testflows with the List Files/Folders node:

    • Use the workflow relative path

    • ../Testflows



Learning objective: Learn how to build a testflow report based on a set of testflows


Workflow description: This workflow calls all the testflows, collects the testflow statuses and metadata, and generates a PDF report.


You'll find the instructions to the exercises in the yellow annotations.

Session 1 - Preparing a Data Pipeline for Deployment

Exercise 02c (Optional) Building a testflow report

Prepare the PDF report

Create report
Report
Collect the statusesand metadata
Loop End
Report Template Creator
List the pathsto the testflows
List Files/Folders
For each testflow
Table Row to Variable Loop Start
Execute the testin the testflow
Call Workflow Service
Report name and location
Write report to PDF
Report PDF Writer

Nodes

Extensions

Links