Access policy branch for Subdomain?

Does anyone know if there is a way to create an access policy branch that will function similar to Landing URI but will look for a subdomain instead of a URI?

I need a way to identify if the request is coming from one subdomain or another so I can apply different requirements to each.

example: If someone goes to app1.test.com they will be sent down one path of the access policy. However if someone goes to app2.test.com the access policy will send them down another branch of the same policy.

Any ideas would be appreciated it.

Thanks!

You can find some examples here:

Try %{session.server.network.name}

It’s by no means exhaustive, but this is a good start: Session Variables

It also doesn’t include session.service.network.name. Typically the best thing to do is to allow traffic to flow once or twice to set up an active session, then go to access session reports and look at the list of populated session variables there.