Hi!
Does anybody knows how can I capture the time when a user accepts a task? and who accept it? when a user input task is assigned to a group of people...
thanks!
Discussion posts and replies are publicly visible
There is no way to react on that event. As the task is completed, you have that data available and can store it somewhere for reference.
So only when a task is completed, I can get that info right? Do you know how to do that? because I saw some expression rules about it, but when I pass the ID Process or the ID Task as appropriate, I only get the time It was completed, not accepted...
In a process report, you can use task metric functions to get that time. The lag() function is the time between assignment and acceptance. netLag() is the same, but working hours only.
Is this what you are looking for?
HI,
If I understood your requirement correctly, we can get it through Process Report over the active instance of a process model.
Here we can use
tp!owner - to get "who accepts it"
tp!starttime -to get "when a user input task is assigned to".
I hope this will help you
Yes! thats what I needed. And do you know how can I get the time when the task was Accepted? Thank you!
I tried with this function gettaskacceptedtimestamp() but I think is not working because I received the time the task was completed, not accepted. Maybe I need another configuration in the process.
Not sure what you are doing. This function is part of a plugin and will probably not work in a process report.
https://docs.appian.com/suite/help/23.3/Process_and_Report_Data.html#task-metrics
task_completion_time() - work() = accepted time
The documentacion has all I need, thank you!!
Unknown said:There is no way to react on that event. As the task is completed, you have that data available and can store it somewhere for reference.
=if(task_status() = 0, null(), tp!starttime + lag())
appears to work. thanks for letting me know about the Lag() function - funny that it doesn't seem to exist at all when not looking in the portal report editor
you can add lag time in start time if its accepted