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
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.