A computer-implemented method for providing a user equipment with a route selection policy for data traffic routing in a visited network, wherein the route selection policy comprises one or more mappings associating applications with respective network slices of a network, wherein a mapping comprises an application identifier of an application and a slice identifier of a network slice to be selected by the user equipment for data traffic of the application, the method comprising:
- obtaining a route selection policy for a home network of the user equipment, thereby obtaining a home route selection policy;
- for at least one application which is listed in the home route selection policy and for which application the network slice identified in the home route selection policy is not available for use in the visited network for data traffic of the application, determining a replacement network slice which is available for use in the visited network for the data traffic of the application;
- generating an updated route selection policy, comprising modifying the home route selection policy to include a mapping associating the application with the replacement network slice;
- and
- providing the user equipment with access to the updated route selection policy.