Please follow the below steps…that way it is easy and we can find the issue
- Create a separate worfklow for Reading emails and Writing data to Excel and have a out Argument which will send the datatable as an out argument
- Invoke the above xaml in the first run if condition and this will make sure the read emails runs only once and then Assign the Argument with datatable to io_TransactionData
- Now in Get Transaction data use a if condition in_Transactionumber <=io_TransactioNData.RowCount
- In the then side assign io_TransactionData.Rows(in_TransactioNumber-1) and on else give NOthing
cheers