Please anyone can help me solving this error

Compiler error(s) encountered processing expression “TransactionItem”.
Value of type ‘System.Data.DataRow’ cannot be converted to ‘UiPath.Core.QueueItem’.

Go to the variables list and change the type of TransactionItem to DataRow

HI @nikitha.prakash

You are using transaction item in a queue or in excel?
You have used transaction item as data row and didn’t change in the workflow


Not in a queue
I want TransactionItem to be ‘System.Data.DataRow’ and i changed it also but i m getting an error as Main.xaml: Compiler error(s) encountered processing expression “TransactionItem”.
Value of type ‘System.Data.DataRow’ cannot be converted to ‘UiPath.Core.QueueItem’.

Hi @nikitha.prakash ,

Looks like the Error is Pointing out in the SetTransactionStatus Workflow.

You also need to change the Queue Item Type variable to DataRow in that workflow as well.

However, If you are in the Process of Learning, I would suggest you to go to each workflow and Change the Datatype as required.

But if you wish to use in a Project, there are already available templates of RE-Framework in Marketplace having the Desired type of Transaction Item.
One such Template is given below:

I Had set it to DataRow in the workflow , still I m getting an error

@nikitha.prakash ,

Yes. As it is a Validation Error, Please navigate to the Points where the Error Still shows up, there are some modifications that would need to be made when you change from QueueItem to DataRow.

I believe the changes to be made can be understood, once you have got the Activity Reflecting the Validation Error.
In the Success block of SetTransactionStatus workflow, The Below Activities in Image might be giving out the Validation error due to the change in the Data type. These activities are not needed when considered a DataRow as a Transaction Item.

Similarly, you Should be able to find out in other blocks what is the Error caused and fix it.

1 Like

Thank You error solved

1 Like

can I get solution for this one too

Compiler error(s) encountered processing expression "in_Config(“ACEM_URL”).ToString
End of expression expected.

@nikitha.prakash ,

It seems that there is an Extra Line in that argument value, can you rewrite that whole value again ?

You can do a Ctrl+A inside that argument Value and Click on BackSpace or Delete button.

After this, you can rewrite the whole value again. The Error should be resolved.

1 Like

can u help me with this error

@nikitha.prakash ,

I would guess that you are trying to access a Value which is not present.

More accurately, a Dictionary Variable as it states does not have the Key.

It should most probably be your Config variable or in_Config argument.

Check if the Key is present in your Config.xlsx file

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.