I want to write a class which returns me a detailed status on a node by node basis for a execution of a process.
So the input would be a process instance id and the output should contain
1. Node Enter Time
2. Start Time
3. End Time
4. Elapsed Time - which is a calulation
If we use Token to get these the end time is always the same.
I'd hope the end time of a token is always the same. If you end it on a certain time, it should not have a different end time tomorrow :-)
But I assume this is not what you meant...
Does each token have the same end time? Do you have a unitest to demonstrate this behaviour?