Terminate workflow how to use

I need to use terminate workflow in reframework if any system exception happen in my workflow i need to terminate flow and i need to write excel log file that this is error occurred send mail to report team how could i capture system exception what is different between throw and terminate workflow how can i catch exception

Please check: How to stop execution of the program, but without Exception message? - #9 by Manish_Pandey

If you use REF please stay to the logic. Use “Throw” activity for new BusinessRuleException. Open SetTransactionStatus in Framework and add there what you want to do in this case. Thats the clean way, everything else is a quick and dirty hack.

Hi @airwaveexporter

Please refer this link. Terminate workflow activity

Happy Learning :slightly_smiling_face: