Error getting transaction data for Transaction Number: *. Object reference not set to an instance of an object. at Source: Assign

Hi All,

I’m currently training under level 3 advanced, I have completed the assignment 1 workflow, It successfully generates hashcode for every work item of type ‘WI5’ but in the output pane I notice this error occurring in get transaction data for assign activity.

image

but all the workitems has been successfully updated, the transaction number 14 as shown below is for the work item that doesn’t exist, still i find this error.

image

As per the assign activity of get_transaction_data.xaml please refer the below screenshot

image

Appreciate your help.

Thanks

Hi @ReemaPriscilla
I think you get this error if no results where returned. You then try to assign a value to nothing.
You can check this with a writeline of messagebox just before you assign this value, just to double check if the values are correct.

Thank you for your response :slightly_smiling_face:.

My apologies :sweat_smile:, can you please be more clear with the assignment. Should I be printing a variable with null value on the output pane?