How to check service-now mobile applications are installed in device?

bala37
Kilo Contributor

Hello everyone,

I have a question, when user clicks on any link in outlook or email from mobile that link will redirect to browser.

Is that possible when user clicks on any link, system should checks for the condition if any service-now application are installed in mobile device. If application is available the stuff should be displayed in mobile application. Else it should redirect to browser.

 

@Chuck Tomasi @Paulsylo please Help out to achive this.

Anyone have any idea please respond.

 

thanks in advance. 🙂

1 ACCEPTED SOLUTION

Sebastian L
Mega Sage

Thing is, how do you know where the user opens the email? But you can check if a user is using the app by checking the following table "sys_push_notif_app_install". Look for "ServiceNow Request Application". 

 

If this is a MUST have, I would provide 2 links in the notification - one generic for browser/portal - and then one dynamic that only displays if you have the app installed. Since it is a static link for the "report an incident" you can use my answer in this: https://community.servicenow.com/community?id=community_question&sys_id=da3e7b14db00cd90ae812509139619cb 

 

If you were to use a dynamic link to the incident, you would have to use {{sys_id}} in the form screen and in the deeplinkgenerator use getFormScreenLink. Properly also have to use ui parameters for this. 

 

But to be honest, don't understand why you just don't provide a push notification (for the now mobile users) for anything related to the exact incident, and then if they in the email should be guided towards to "report a new incident", then use the above dynamic. 


Best regards,
Sebastian Laursen

View solution in original post

4 REPLIES 4

Joao Carlos1
Tera Guru

Hi Bala,

 

That is called mobile deeplink. 

 

Take a look at this KB. It leads to the deeplink documentation here in order to create your link to a form or list screen applet.

 

Best regards,

Joao.

Okk, I have gone through the doc you had attached, but it doesn't reached my criteria.

For example:

A mail will be sent to user after creating an incident.

if User opened mail from mobile.

In that particular mail there is a button Take me to incident (It redirects to browser and opens the incident record)

but We also need to provide link for Incident form screen in mobile application.

Here condition should be checked 1st, if Mobile app is available in users device it should redirect to incident form screen in mobile else the same button should redirect to incident form in browser.

 

PaulSylo
Tera Sage
Tera Sage

If you want to redirect the click-on link in the mail to the mobile app, then you can check out this question addressed by chuck.

https://community.servicenow.com/community?id=community_question&sys_id=543c9852db85d7443882fb651f9619b7

Check this out. you may get some idea, but with deep linking I, you can still try and able to achieve this below kind of screenshot,

 

find_real_file.png

Meanwhile, I am thinking you need to provide two links one for view in mobile and one for desktop view. I am not sure you can use one link to achieve two actions (1. when a user checks mails from mobile,  which directs to mobile app view & 2. when a user checks mail from desktop, it directs to classic view) 

 

Regards,
PaulSylo

Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !

Sebastian L
Mega Sage

Thing is, how do you know where the user opens the email? But you can check if a user is using the app by checking the following table "sys_push_notif_app_install". Look for "ServiceNow Request Application". 

 

If this is a MUST have, I would provide 2 links in the notification - one generic for browser/portal - and then one dynamic that only displays if you have the app installed. Since it is a static link for the "report an incident" you can use my answer in this: https://community.servicenow.com/community?id=community_question&sys_id=da3e7b14db00cd90ae812509139619cb 

 

If you were to use a dynamic link to the incident, you would have to use {{sys_id}} in the form screen and in the deeplinkgenerator use getFormScreenLink. Properly also have to use ui parameters for this. 

 

But to be honest, don't understand why you just don't provide a push notification (for the now mobile users) for anything related to the exact incident, and then if they in the email should be guided towards to "report a new incident", then use the above dynamic. 


Best regards,
Sebastian Laursen