Hi! I want to create an error log where whatever error message I get on the output panel, can be automatically entered in a txt file. I want to use the Append Line activity and I’m looking to get the text from the output panel as it is. I also want to add a timestamp of the current error
Welcome to Uipath community!
Surround the sequence with try catch so that exception error message will be catched in catch block
Try block
Sequence
Use append line activity and
“Type the string as Your process name started”+Now.ToString(“dd-MM-yyyy:HH:mm:ss:fff”)
Some process with append line messages
“Type the string as Your process name Ended”+Now.ToString(“dd-MM-yyyy:HH:mm:ss:fff”)
If Exception
Use append line with selected exception and use ex.messge with time stamp
Regards
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.