How to filter queueitems with a startprocessing timestamp greater than a specific timestamp

Hi,
I need to filter queueitems on their StartProcessing time stamp to be able to just report on the newly processed items in a queue like this:

In_OrchURL + “odata/QueueItems?$filter=QueueDefinitionId eq ” + In_QueueID + " And StartProcessing gt " + In_StartingTime + " &$select=Key”.

In_StartingTime is a timestamp on format “2019-01-30T11:00:00Z”.

The response is:
{
“message”: “Invalid OData query options”,
“errorCode”: 1000,
“resourceIds”: null
}
Regards
Levi

Did you check that your other variables are in right form?

I tried similar request and it worked correctly:
odata/QueueItems?$filter=QueueDefinitionId eq 4 and StartProcessing gt 2019-01-30T11:00:00Z&$select=Key

Hi otus,

Thanks for your reply. Yes I have solved it but forgotten to write my solution.

Med venlig hilsen

Statens
Levi Frostholm Christiansen

RPA Developer

Kunder og Kvalitet

T 4178 2059

E lfh@statens-adm.dk

www.statens-adm.dk