Hi folks,
I am having a difficult time wrapping my head around deferring items in a queue and looking for some guidance.
Currently, I am loading a class schedule to a work queue. My process then looks at each class to see if the class has started or not (complete or exception). However, if the local time is not within an hour of the class start time I need to defer the processing of that item. When I defer the item it updates the queue with the UTC time (for me 6 hours behind local time). So my question is, do I need to adjust my process logic to UTC so that the queue pics up the deferred item at the correct time? Or can I continue to use local time?
Secondary question. After deferring the item my get next stage then pulls the item I just deferred. I'm thinking this is because the process is currently deferring to a past time. Thoughts?
I am having a difficult time wrapping my head around deferring items in a queue and looking for some guidance.
Currently, I am loading a class schedule to a work queue. My process then looks at each class to see if the class has started or not (complete or exception). However, if the local time is not within an hour of the class start time I need to defer the processing of that item. When I defer the item it updates the queue with the UTC time (for me 6 hours behind local time). So my question is, do I need to adjust my process logic to UTC so that the queue pics up the deferred item at the correct time? Or can I continue to use local time?
Secondary question. After deferring the item my get next stage then pulls the item I just deferred. I'm thinking this is because the process is currently deferring to a past time. Thoughts?