Notification Redirection: How to Force Workspace View Instead of Classic Mode?

PedroSoares
Tera Contributor

I want to generate a notification through the 'sys_notification' table, and I've successfully configured the trigger and content for the notification. However, upon clicking the notification, it currently redirects to the form in classic mode. My objective is to enforce redirection to the workspace view. Is there any method to ensure it redirects to the workspace view instead?

6 REPLIES 6

Musab Rasheed
Tera Sage
Tera Sage

There you go.

https://www.servicenow.com/community/itsm-forum/email-notifications-incident-and-requests-links-to-a...

Please hit like and mark my response as correct if that helps
Regards,
Musab

Haseeb-Ahmed
ServiceNow Employee
ServiceNow Employee

Hi @PedroSoares ,

You may refer this https://www.servicenow.com/community/service-operations-workspace/open-email-links-in-service-operat...

 

Please mark it helpful if it answers your query.

Thanks,
Haseeb Ahmed

 

Community Alums
Not applicable

Hi @PedroSoares ,

Did you find the method  to ensure the notification its redirect to the workspace view. Because I facing same issue. If yes could you please guide me the step?

 

Thanks in Advance

DharmarajR
Tera Contributor

Go to sys_ux_page_registry table and open your workspace US Page Registry, then click on UX Page Properties related list and open featureRoutes page property, update below JSON data on the Value field and save it.

 

{
  "record": {
    "_default": {
      "routeInfo": {
        "route": "record",
        "fields": [
          {
            "name": "table",
            "mapping": {
              "address": "table"
            }
          },
          {
            "name": "sysId",
            "mapping": {
              "address": "sysId"
            }
          }
        ],
        "params": [
          {
            "name": "query",
            "mapping": {
              "address": "query"
            }
          },
          {
            "name": "extraParams",
            "mapping": {
              "address": "extraParams"
            }
          },
          {
            "name": "views",
            "mapping": {
              "address": "views"
            }
          },
          {
            "name": "selectedTabIndex",
            "mapping": {
              "address": "selectedTabIndex"
            }
          }
        ]
      }
    }
  }
}

 

Please hit like and mark my response as correct if that helps