Hello Appian Community,
Use-case - We have a process containing 8-9 stages(UI Screen), each stage having "Next", "Save" & "Back" buttons.
Requirement - Need to capture the time spent by the user on each stage and use this for auditing and generating reports for business owners to understand, how much time users are spending.
Approach - Appian provides a process property name "starttime" and we can configure a script task with a custom process variable with "endTime" as the "now()" function.
Need Suggestion -
Is there any better OOTB feature to achieve the requirement?
What is the value of "starttime"?How to capture "endTime" without configuring an additional script task after each stage?
Appreciate your suggestion.
Discussion posts and replies are publicly visible
Did you try creating a Process Report of Task type and use Task metric functions like task_completion_time() and task_avg_completion() ?
Also, if you don't want completion time for each individual task and average completion time for all task is enough then OOTB functions like averagetaskcompletiontimeforprocessmodel() and averagetaskworktimeforprocessmodel() may also help.
Process reports can provide you with all these values. Evaluate a report just before the end of the model and persist the data to DB.