Closed hbpe-aarhus closed 6 months ago
Well done! Remember to update the changelog :)
Should the end time be noted when a queue element is marked as abandoned? It's technically not ended when it's abandoned?
Cheers!
Yes, I was on the fence about setting the end date as well. On the one hand, setting the end date lets the user see when the queue item was actually flagged as being abandoned. On the other hand, the queue item was never actually finished.
I guess one could argue that more information is better than no information. It's just something one needs to be aware of. Lets keep it as you made it.
Implementation of https://github.com/itk-dev-rpa/OpenOrchestrator/issues/77
In addition to adding a new Abandoned state for queue items, I also let the function "set_queue_element_status" update the end_date of a queue item if its state is Abandoned.