Hi @lebao1,
That can be possible, so let's take SubFlow1 and SubFlow2, so individually you can place a block exception action which is on block error and the remaining actions inside those On block error and end, You can prepare another subflow to kill the application. Now in On block error choose the Kill application subflow, so that whenever there is a problem in SubFlow1 on block error will handle and run the workflow of the kill application and go to the next action
Below pic for your reference

If you find this reply helpful, please consider giving it a LIKE AND
If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION
Regards,
Srini