Queue orchestra fetch items

From orchestrator queue,I want to fetch in progress or failed items which are from yesterday 11 am to today 11 am

Hi @ankitasharma443396

You can use the Get Queue items activity.

You can specify the time in from and to fields. In the Queue items states option check the In progress option. Then you can retrieve the queue items which are in progress and between the time duration.

Check the below image for better understanding,

Hope it helps!!

Hi @ankitasharma443396

Use get queue items activity.

Check the docs to get more info

Hope it helps!!

Hello @ankitasharma443396
Use Get queue activities you can CAhieve this.
I Property use From and To as below:

From: DateTime.Now.Date.AddDays(-1).AddHours(+11)
To : DateTime.Now.Date.AddHours(+11)

And Mark the In progress and Failed Items.

Hi @ankitasharma443396 ,

I have replicated your problem statement and have provided the solution below
Just update the Folder name and Queue Item in GET QUEUE ITEMS activity

Get_Queue_Item_Filter.zip (2.7 KB)

Hope it helps you out!

Which version of UiPath u r using
Since in mine studio from is there not ddmmyy format

Can you specify from to section code wise since I am struck in that part only

I am using 2023.12.0 version. My be you are using 2022 version right.

First update the UiPath.System.activities to highest version then see the properties panel is updated or not. If not take a screenshot of properties panel of Get queue items activity and share here. @ankitasharma443396

@ankitasharma443396

You can give the from and to date like this

From: DateTime.ParseExact(Now.AddDays(-1).ToString("MM/dd/yyyy") + " 11:00:00","MM/dd/yyyy HH:mm:ss",System.Globalization.CultureInfo.InvariantCulture)
To : DateTime.ParseExact(Now.ToString("MM/dd/yyyy") + " 11:00:00","MM/dd/yyyy HH:mm:ss",System.Globalization.CultureInfo.InvariantCulture)

Cheers

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