Hi,
When I “Get Queue Items”, I get all statuses, is there a way to LINQ query the data obtained to get counts of succesful, failed etc. rather than using “Get Queue items” for successful and getqueueitems “Failed” etc.
Hey @A_Learner
Yes, you can use LINQ to query the data obtained from “Get Queue Items” and count items by their status.
These few examples should works fine
queueItems.Count(Function(item) item.Status = QueueItemStatus.Successful)
queueItems.Count(Function(item) item.Status = QueueItemStatus.Failed)
queueItems.Count(Function(item) item.Status = QueueItemStatus.New)
queueItems.Count(Function(item) item.Status = QueueItemStatus.InProgress)
2 Likes
Does queueItems.Count give count of all items in the queue?
Thank you,
Yes, That’s right ![]()
queueItems.count gives the count of all items.
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.