I want to create a log capture method which will append log to a common log file in case of any bussiness or system exception

I want to create a log capture method which will append log to a common log file in case of any bussiness or system exception
Hi @TryTry,
You can use block exception for certain line of code and put a rule once error occurs run different sub flow, in this Sub flow use Get last error action to get the error log.
Thanks,
Karan