It is saving data in excel as shown below: It is containing empty strings as highlighted.
And for No.2 , I have write the logic inside “Process”.
Problem : When I execute, it is just initializing , reading mail subject, extracting into excel file and then closing the application. But not performing the next task. ie. writing the excel data into application.
Solution I tried:
Created a Sample Excel having few rows of data.
Building same logic (excluding reading mails)
And it’s executing perfectly as per requirement.
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
I have tried as you said. Created a separate workflow and invoked inside first if condition of Get transaction data. But it has thrown error for GET IMAP.(Object reference not set to an instance of object).
I have created 2 arguments:
I’m still facing same old issue. Problem : When I execute, it is just initializing , reading mail subject, extracting into excel file and then closing the application. But not performing the next task. ie. writing the excel data into application.
Can you include logs for reading to check if it really read the data and also can you share the project or some screenshots…and check in debug…if the io transactiondata has data when entering into transaction xaml and if it is properly assigning the value.use step into activities
Please check this…I changed the out Argument variable to dt_TransactionData in the invoke in Init settings and also remove the if condition for transactionnumber 1