I’m currently working on a project using the REFramework template, and I’m trying to process data from an Excel file (not using Orchestrator Queue).
While running my workflow, I got the following error:
Error Message:
Framework/GetTransactionData.xaml: BC30311: Value of type ‘QueueItem’ cannot be converted to ‘DataRow’. The selected value is incompatible with the property type.
What I’m trying to do:
I read Excel data into a DataTable in InitAllSettings.xaml.
In GetTransactionData.xaml, I want each transaction to be one DataRow.
In ProcessTransaction.xaml, I’m using the current DataRow to fill form fields.
What I think is happening:
The default REFramework uses QueueItem as the transaction type, but I changed it to DataRow. I might have missed updating the data type somewhere.
What I’ve tried so far:
Changed the TransactionItem argument types.
Checked in_Main.xaml argument connections.
Still, the type mismatch appears.
Any help to fix this type conversion issue (QueueItem → DataRow) would be appreciated
In this case, I think GetTransactionItem activity is unnecessary.
Can you check “Practical Example 2: Using Tabular Data” in ReFramework document?
(It’s under documentation folder in Refremework)
It describes regarding sample for using DataTable.
Hi @S_Yuvaraj
Please find attached zip project which already uses Reframework with tabular data
You just need to pass your excel file path in get transaction.xaml
For your reference attached zip File
I hope this will work for you!