Professional Documents
Culture Documents
Row-Denormaliser & Row-Normaliser: Scenario of Workflow
Row-Denormaliser & Row-Normaliser: Scenario of Workflow
Row-Denormaliser & Row-Normaliser: Scenario of Workflow
In this document we will see how to convert rows to columns and vice-versa. Will use “Row denormaliser” step
to convert rows to columns and “Row normaliser” step to convert columns to rows.
Scenario of Workflow
3. Drag and drop a “Microsoft Excel input” step to read “RowData.xls” file. Double click on it to configure it as
follows:
“Files” tab:
• Rename the step as “INF_RowData”
• In “Spread sheet type (engine)” field, select file extension as “Excel 97-2003 XLS (JXL)”
• Browse the file “RowData.xls”
• Click on “Add” button and it will added to “Selected Files” section
• Click on “Show filename(s)” button to ensure about the path and extension of the input file.
“Sheets” tab:
“Fields” tab:
• Get fields from header row: Click on this button to fetch all the columns from the input file.
Note: You can select “Format” also if required for any column.
4. Drag and drop “Row denormaliser” step to convert rows to columns and connect it with “INF_RowData”
step.
Note: We have data in key-value pair format in input file (RowData.xls). Our key column is “Col1” and value
column is “Col2”.
You can give any name according to your requirement. These are the fieldnames which will be available in your
output file.
Note: We have data in key-value pair format in input file (RowData.xls). Our key column is “Col1” and value
column is “Col2”.
Note: These names should be exactly the same as available in the input file (RowData.xls).
“File” tab:
Click on “Get Fields” button to get all the fields listed. Refer below images:
---------*-------------*---------------*---------------
3. Drag and drop a “Microsoft Excel input” step to read “RowDenormalizerFile.xls” file. Double click on it to
configure it as follows:
“Files” tab:
• Rename the step as “INF_RowDenormalizerFileData”
© 2018 AutomationEdge Inc. All Rights Reserved.
This document is for your company’s internal use only and may not be distributed to any third party.
• In “Spread sheet type (engine)” field, select file extension as “Excel 97-2003 XLS (JXL)”
• Browse the file “RowDenormalizerFile.xls”
• Click on “Add” button and it will added to “Selected Files” section
• Click on “Show filename(s)” button to ensure about the path and extension of the input file.
“Sheets” tab:
• Get fields from header row: Click on this button to fetch all the columns from the input file.
Note: You can select “Format” also if required for any column.
4. Drag and drop “Row Normaliser” step to convert columns to rows and connect it with
“INF_RowDenormalizerFileData” step.
Note: The output file will contain data in key-value pair format. Our key column will be “col1” and value
column will be “col2”.
Note: For values in “Type field”, “Type” & “new field” can be provided according to you
5. Now, drag & drop “Microsoft Excel Output” step and connect it with “Row Normaliser” step as shown in below
image:
“File” tab:
“Fields” tab:
Click on “Get Fields” button to get all the fields listed. Refer below images: