Hi.
I see in the queueitem properties DueDate, but not DeadlineDate, and in Add Queue Item we have Deadline and not Due Date. Are these one and the same?
I also note that the property of DueDate returns a nullable Date, not a datetime?
My process needs to throw a business exception if the deadline has passed for processing.
Thanks
J0ska
November 4, 2022, 11:09am
2
This is inconsistency in terminology. DueDate = Deadline
Cheers
ppr
(Peter Preuss)
November 4, 2022, 11:16am
3
Short Answer - looks like Yes
Refering to the swagger docu (V15)
get Queue Item
Add Queue Item
Cross Check Docu Add Queue Item:
And a practical Test:
Using Add queue item . Deadline: now.AddDays(2)
ORC:
Swagger
Thanks.
My logic check will therefore be (for others lookingfor this answer) transactionItem.DueDate isnot nothing andalso transactionItem.DueDate.value < system.datetime.now
ppr
(Peter Preuss)
November 4, 2022, 11:29am
5
Kindly note: that the dateTime stored in ORC is different to your local time zone. we can see:
Yes, our orc server (on-prem) runs 3 minutes behind. However, as the dispatcher also runs from the same machine as the performer, these should align?
In any case, for our purposes this should be close enough, and I’d prefer the readability of “today” and “now” over references to UTC!
system
(system)
Closed
November 7, 2022, 11:53am
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.