How to retrieve a object after login?

0
Hi guys, I am getting stuck in this scenario: 1 - Anonymous user makes an Request-object 2 - If the user is existing I give him the possibility to login 3 - How can I retrieve the Request-object he was busy anonymously before he had to log in? Any constructions you use? I tried some helpers but because there is no user object coupled to the Request-object, I am also not able to retrieve in a rol based login... thnx
asked
3 answers
2

Use the Sign-in Micro flow. This will make it possible to bring an object from the anonymous session into the logged in session. In the sign in microflow, just associate the object to your account object.

In the navigation you have to check if the object is connected if you want to show a specific page instead of the users landing page.

Here is some more info on how to achieve this:

https://www.mendix.com/blog/using-the-after-sign-in-microflow/

answered
0

project, security use the sign in microflow option for anonymous users

answered
0

I would try to use the Deeplink module from the App Store to open the Request object created anonymously - you can use any unique value on the request object as the parameter for the deeplink microflow. If the Deeplink microflow has permissions other than anonymous, then the user will be prompted to login when accessing the deeplink.

answered