Route to home page when third party service session expires

Hi, I am invoking  external services in my application and I need to route my application to login screen when these services session is timed out. One way I can think of is to write a microflow which handles session timeout exception and route the application to login/home page. With this approach I need to call this microflow in error handler path of all webservice activities. Instead of this, is there a way to implement this at one place? like using custom java handler or something...
0 answers