Hi. I’ve spent many hours just getting here, but I think I’m stuck. There are many similar topics in search, but none quite the same.
In the documentation it states “The TransactionItem variable in the Main file should be of the System.Data.DataRow type, as we are extracting the entire table to process it one row at a time. You should also change the argument type in the GetTransactionData, Process and SetTransactionStatus workflows to match the TransactionItem type.”
Attempting to follow that instruction, in the “General Business Process” I change the TransactionItem from QueueItem to DataRow . That caused errors in Get Transaction Data and Process Transaction. This was expected.
Get Transaction Data invokes the workflow GetTransactionData. Opening GetTransactionData.xaml I can see problems with activities End Process, and Try GetTransactionData.
The documentation says “change the argument type … to match the TransactionItem type”. Now there is only one QueueItem type called outTransaction. Changing that to System.Data.Datarow type doesn’t solve my problem.
Another problem is how do I set the TransactionItem to Nothing in End Process? Then there are further errors on the Try GetTransactionData try-catch block.