I want to get data from queue for last 24 hours. I am trying to use Now.AddDays(-1) in from and leaving To empty but i am getting below error. I am using version 23.10.
Below is how my Get Queue Items properties lookslike.
Where you able to resolve this issue?
I am running in the same problem.
The moment I add a value to the āfromā property I get this error message.
With the āfromā property I have no issue.
Same goes with the āToā property.
I tried āNow.AddDays(-1)ā as DateTime and as Nullable DateTime
I also tried āNow.AddDays(-1).Dateā or just āNowā
Another way to fix this is removing the time filter in the activity Get queue items (putting anything in there will cause the issue), and then using Linq to filter the output. But to do this, I have to use the Postponed field or a specific content to store the transaction creation time.
Note that I tried to change system.acitivites package version (23.10.2/3/4 all failed), and use datatype Nullable(datetime) instead of system.datetime.
Iāll point out that I have had a similar but perhaps not identical issue, where Iām getting this error. It was because the queue item reference contains an apostrophe, and removing/replacing that has allowed items to be returned. It may be worth checking your references.