Accessing mainWindow from service class?

Is it possible to access the mainWIndow from a service class? I see on another topic that it is possible to access the mainWindow from another screen using AppUI but that doesn’t seem to work from a service class.

It’s impossible because they are on different tiers - services are on middleware and screens are on the client. They can even be deployed to separate JVMs or servers.

Thanks Konstantin. I was inwardly hoping the arrows on that picture were bi-directional for access.