If there are 2 specific statuses you need to grab time from like when it enters "AWAITING REVIEW" and when it enters "IN PROGRESS" what I typically do is create 2 new datetime attributes. One called "status one entry time" and "status two entry time". Add those 2 attributes to your main form. Then in your process, create an auto action that is associated with a window (windowed windowless action) and use a calculation to set the times. Then, you can do a calculated attribute to get the time differences.
Hi Jamie, how should be the calculation to set the times?
Jamie, I get it!!
And it really works:
But there is a little detail maybe you know how fix it.
If the process is in status "IN PROGRESS" yet, i get already a time, because the "status two entry time" (attribute) fill automatically with a Creation Date. *I didn defined a persistent property in that attribute.
I'm not sure I'm following the second part. So you have a datetime that you set as having a persistence type so it won't give you the right dates?
No, im getting a false-positive because im getting the "Total time" even though I am not in the resolved status.
The "status two entry time" fills automatically.