I’m getting multiple data elements (Company Id, Status, Date, Previous Operating Name etc) from a website and storing it in a variable. However, I’m doing this in different if/else loops. For ex: Company Id and Status in first loop and Date and Previous Operating Name in the second loop. I am using Build Data Table and Add Data Row to store the data. But since I’m using Add Data Row outside the loops (scope), it is throwing an error.
How can I collate and add all of these data to a data table in a single row outside the loops?
The output should be in this order -
Company ID | Status | Date | Previous Operating Name