Capture time of a failed transaction

Hi, I want to capture the time when a queue item transaction has failed. How can i achieve this. pls help.
Thx

Hi @Rani1978

You can use log activities to log the time the process started and ended, as well as the times it ran into errors…

If you want to capture the time into a variable, similar to log activities, use an assign activity in the place that you decide whether the transaction is failed or not and assign the system time to the variable Same approach can be used for creating logs as well