You are getting this error because REFramework is originally built to work with Queue Items, not Excel rows. Even though you changed TransactionItem to a DataRow in some places, other files still think it is a Queue Item. So UiPath gets confused and shows the error.
To fix this, you must change the TransactionItem type to DataRow in ALL these files:
Main.xaml → open Arguments → change TransactionItem type to System.Data.DataRow
GetTransactionData.xaml → Arguments → change TransactionItem to DataRow
Process.xaml → same → TransactionItem = DataRow
SetTransactionStatus.xaml → same
After doing this, all files will agree on the same type — DataRow.
Then, inside GetTransactionData.xaml, in the error/exception section, keep:
TransactionItem = Nothing
Once everything is DataRow, UiPath will accept this.
In short: Make TransactionItem = DataRow everywhere in the framework.
In the activity ‘End Process’ there is a ‘Set Value’ as ‘Nothing’ which is correct.
Just remove it. Click on Analyze Workflow (It will throw error). Retype ‘Nothing’ Again in set value.