Data Type of Transaction Status

Hi,

I am iterating through the queue items and reading the status of each item:
I am getting this error:

What will be the data type of Transaction Status.
Thanks for the help!!

The problem here is that QueueItemStatus is a datatype. You shouldn’t name your variable the same as a datatype. And as it says, the value of currentItem.Status is string - that’s why it’s trying to convert QueueItemStatus TO string.

1 Like

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