How to fetch queue items for a specific date and time based

I want to fetch the items from the queue for reporter with a hour based filter

For example
I wanted queue items with startprocessing from 26th november 8:00 am to 27 th november 10 am . Can someone please help ne with this request ?

Hi @Ragavi_Rajasekar

Use Get Queue Items activity with a filter. set the QueueItemFilter property like this:

New QueueItemFilter With {
.StartProcessingFrom = New DateTime(2025,11,26,8,0,0),
.StartProcessingTo = New DateTime(2025,11,27,10,0,0)
}

This will fetch only the queue items processed in that time window.
FOR MORE:

If helpful, mark as solution. Happy automation with UiPath

@Ragavi_Rajasekar

get queue items activity has a filter for the same

cheers

1 Like

Hi @Ragavi_Rajasekar
From the Get Queue Items activity and apply a QueueItemFilter to restrict results by time.
Then Set the QueueItemFilter property like this:

New QueueItemFilter With {
    .StartProcessingFrom = New DateTime(2025, 11, 27, 8, 0, 0),
    .StartProcessingTo = New DateTime(2025, 11, 28, 10, 0, 0)
}

This will return only the queue items whose StartProcessing timestamp falls within that date and time range.

Hi @Ragavi_Rajasekar ALWAYS convert your time to UTC before sending in the API

for converting use the below code if you have dynamic dates:

utcStart = DateTime.ParseExact(startDateString, “dd-MM-yyyy HH:mm:ss”, Nothing).ToUniversalTime.ToString(“yyyy-MM-ddTHH:mm:ssZ”)

utcEnd = DateTime.ParseExact(endDateString, “dd-MM-yyyy HH:mm:ss”, Nothing).ToUniversalTime.ToString(“yyyy-MM-ddTHH:mm:ssZ”)

Please let me know if it helps you

Please bear in mind the rate limits described here.

You can only get 100 items per minute for example.

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