Is there a way to perform saga.compensate upon workflow terminate?

Termination by definition is the hard kill. So no cleanup is expected. If you want to perform cleanup use cancel. See this discussion on how workflow can handle cancellation.

2 Likes