Hi @AaronMark. I agree with @muthuraman.g in this scenario.
I suggest implementing exception handling directly into your code. If this is not an error scenario where you want to throw an exception, you can simply catch the exception and invoke the referenced “bot’s last task” with an Invoke Workflow Activity, and proceed with Closing All Applications after.
The bot’s last task in that case should be placed in a separate workflow that can be invoked if the scenario is encountered.
I recommend looking into this topic to implement the RE:Framework without utilizing Orchestrator, and implement this logic in your code:
How to use REFramework without orchestrator - Help - UiPath Community Forum