How to fetch queue data base on timestamp?

Hi Team
I have added queue with timestamp reference

now I want to get those queue items How can I get base on date time ?

see the picture

I want queue items from 03/07/2024 20:27:49

@Sanket_Shinde1

I have tried but not comming

Also I have not specify any parameter in from to field

@Sanket_Shinde1

Is there any condition to get the specific range datetime queue items.In reference you used Get asset value what input that it contains…?

1 Like

Hi @Sanket_Shinde1

Try this way:
DateTime.ParseExact("03/07/2024 20:27:49", "MM/dd/yyyy HH:mm:ss", System.Globalization.CultureInfo.InvariantCulture)

Regards

1 Like

Within that variable I have store DateTime value

I want to keep DateTime dynamic

Hi @Sanket_Shinde1

It should present date and time right?

Regards

1 Like

Hi @Sanket_Shinde1

DateTime.ParseExact(Now.ToString("MM/dd/yyyy HH:mm:ss"), "MM/dd/yyyy HH:mm:ss", System.Globalization.CultureInfo.InvariantCulture)

Regards

1 Like

@Sanket_Shinde1

Sequence12.zip (2.5 KB)
Input:
image



1 Like

Hey Hi,

Check this approach.

• First Identify queue items that are available with you date range. For that take “Get Queue Items” and filter with only date will get all the available processing date queue items


• Filter the date List_Dates.Where(function(x) DateTime.ParseExact(str_YourQueueRefDateAndTime, str_YourQueueRefDateFormate, System.Globalization.CultureInfo.InvariantCulture) > dt_InputDateandTime).ToArray
• For each filtered date

  1. If queueitem is nothing continue.
  2. If queueitem not nothing break

Hope this would helps you.

1 Like

Yes it has has the date and time some time it will have yesterday datetime as well

Hi @Sanket_Shinde1

You want to get the queue items of the present date and time. Is there any other requirement.

Regards

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