Setting timestamp only on state transition but not on simple save
![]()
https://jazz.net/forum/questions/77931/attribute-configuration-calculated-timestamp-being-set-unexpectantly answered part of my question but not totally.
Let's say I have a WI and I want to record the last Closed date. So if I have a WI that is "In Progress" and I close it, then the last closed date is set. Now I go in and change the comment, then I don't want the last closed date to change. This was answered previously. However, say I can reopen the WI, now when I close it again, I want the last closed date to change. BTW, I do not want the last close date to change when I reopen the WI. So to summarise: I want a timestamp on a WI to change when a transition to a certain state occurs. I do not want the timestamp to change when I modify some other attribute when WI already in that state. Once set, I do not want the timestamp to change unless there is a transition. |