Only Process the last Excel worksheet with Random Name

Requirement: 

We are receiving an Excel workbook with multiple worksheets. I only want to process the last worksheet with a Static Name that has data on the worksheet. Can we have a solution to process that last worksheet?

Note: The name of the worksheet changes every time the file is received.

 

Solution: 

This requirement can be achieved by following below steps:-

  1. Create an Excel schema with any sheet name.
  2. Write a custom plugin to fetch the name of all the Worksheets from Excel Source Excel file along with the sheet size and based on that store the name of last Worksheet name in a variable.
  3. Use the Custom plugin activity just after Excel Schema so that the sheet name is set in the variable.
  4. Over-ride the sheet name with the name set in the first step. Over-Ride Sheet Name.
Have more questions? Submit a request

0 Comments

Article is closed for comments.