Issue to Navigate to the task screen on click of notification link in email

Hi,

We have the below scenario which is not navigating to the task screen when user clicks on url in notification email.

When the user is not logged in to the application, clicks on  url in notification email, currently user is navigating to the login screen. Once user logs in, Home screen is appearing instead of tasks screen. 

Request if user can navigate to tasks screen directly once logged in.

Thanks,

Saicharan


Hi Sai,

for handle this scenerio you can untick the screen Anonymous property no, if user login mandatory so hold this value in one session variable and after login check this variable defalut value and nevigate accrodingly.

Hope this will help you.

Kind Regards

Rahul Sahu

Hello Sai,

For the scenario where the user is not logged in, and you are using your own modules login screen, you can change the behaviour of login in your module as such :

This is the default NoPermissions preparation, bottom False branch leads to the login screen


As OriginalURL it passes the modules root path, you can change this to passing the current url (action in HTTPRequestHandler module is GetRawURL())


This might need some more fine tuning if this is not the behaviour you want for all screens, only the task screen, you'll have to add some decision logic before flowing to Comon\Login


Hope this helps,

Dorine

Dorine Boudry wrote:

Hello Sai,

For the scenario where the user is not logged in, and you are using your own modules login screen, you can change the behaviour of login in your module as such :

This is the default NoPermissions preparation, bottom False branch leads to the login screen


As OriginalURL it passes the modules root path, you can change this to passing the current url (action in HTTPRequestHandler module is GetRawURL())


This might need some more fine tuning if this is not the behaviour you want for all screens, only the task screen, you'll have to add some decision logic before flowing to Comon\Login


Hope this helps,

Dorine

Thank you for the details.

In our current implementation in Login screen, external URL is configured as below.


In NoPermission screen, inorder to give the raw input URL, we do not have input variable for Common/Login, since we are passing external URL directly in the Login screen. 

How do we handle to navigate to the tasks screen in this scenario?

Well,

if you want to know after login where to go, you can add an extra input to your common/login, and then pass the rawurl from the nopermission screen, as proposed.

Is there a problem with that ?  I think the common/login having an OriginalURL as input is default (at least in OS11/personal environment, don't know about other versions), is there a reason why you changed that ?

Dorine