Hi All,
I have a process node that assigned task to user. Whenever the user decide to work on the task, they need to open the task and system will capture their StartTime.
When user click Submit/Save as Draft, it will move to next node and system will store the StartTime to calculate time taken by user to finish their task.
The problem is, when there is system timeout or user accidentally closed the browser before click on anything. When user open the task again, the StartTime will reset back.
Its there anyway i can prevent this from happened?
Thanks in advanced.
Discussion posts and replies are publicly visible
You can fetch the start time of task from Task report.
Start time from Task Report is time when user get assigned to the task. What i want is actually time when the user accepted the task. But I do find Work Duration (The absolute elapsed time between acceptance and completion of this task) in Task Report. I can work around that.
Thanks!!
So, if you want to know the time the user spends on the form, between opening the task and submitting, I would use an ri variables to store startTime and endTime. Start time would be calculated with a load() and a local varibles with the function now(), the endTime would be saved with a!save at the "Submit"