My target is, if time to response is less than or equal to 20 mins, kpi achieved equal to yes. If it is greater than 20 minutes, kpi achieved will be no.
This is on the first save , the time to response (response time - down time email) captured perfectly but the kpi achieved field still blank because it takes previous value which is by default NULL because this ticket never exist before.
This is on the second save. Means i need to edit and save it again for the value to be captured and calculated.
And here comes the problem, if user edit the down time email and save it , if the time to response is less than or equal to 20 minutes, the kpi achieved should be yes, but this one still display no. It still takes previous value which is 728. The user need to click edit and save again to make kpi achieved become yes as it should be.
Can anyone help me to solve this issue. Thank you.