uipathuipath-studiouipath-orchestratoruipath-robotuipath-activity

What is a valid IEnumerable UiPath data type for UiPath QueueItems


I am trying to configure the UiPath get queue items activity but when I specify the QueueItemData variable as the output it gives a warning asking for a generic IEnumerable object.

What is the proper UiPath queue object to use when a IRnumerable object is required?


Solution

  • You can simply use IEnumerable<UiPath.Core.QueueItem> as type for your variable. A simple way to create a suitable variable is to hit CTRL+K in an appropriate property field, like this:

    Create variable using CTRL+K

    Studio will then automatically add the variable after hitting Enter. You may need to change the scope manually.

    enumerable queueitems