Read Output Data from Orchestrator Que


I’m having problems reading the Output Data from Transaction/Que Items from Orchestrator.

I’m using in_transactionItem.Output(“Field”).ToString.
But gets an error: object reference not set to an instance of an object

The error “object reference not set to an instance of an object” typically occurs when you try to access a property or method of an object that is null or uninitialized. In your case, it seems that the in_transactionItem object is null or doesn’t contain the required output field.

To resolve this issue, you need to ensure that you have a valid transaction item and that it contains the output field you are trying to access. Here are a few steps you can take to troubleshoot and resolve the issue:

Check the transaction item: Verify that you are passing a valid transaction item to the in_transactionItem variable. Ensure that you have retrieved the transaction item using activities such as “Get Transaction Item” or “Get Queue Item” before accessing its output fields.


Welcome to the community

Either the transactionitem null or it does not have an output field at all


Hi @kent-ole.larsen

Check if the transaction item (in_transactionItem) is not null before accessing its output data. You can use an If condition or If activity to validate if the transaction item is null or not.

If in_transactionItem IsNot Nothing ’ Access the output data outputValue =in_transactionItem.Output(“Field”).ToString End If


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