How to retrieve Queue Items


#1

Hi,
I am trying to retrieve queue items. I am using “get Queue Items” activity. I am assigning the output of this activity to QueueItem[]. It is not allowing. What should be the output variable type of?


#2

Hi there @ravisangam,
The data type should be:

System.Collections.Generic.IEnumerable<UiPath.Core.QueueItem>

As a quick tip, if you are ever unsure on the expected output, simply enter CTRL + K, which will prompt you to generate a variable with the most appropriate type.

Thanks once again,
Josh


#3

:slight_smile: thanks