Dear René van der Meer,
If you want to achieve something after signin, follow the below steps;
1. Create AfterSignin Microflow and code your logic.
2. Create one home microflow flow, which calls home page.
3. Now call the aftersignin microflow in home microflow in task queue if background execution is required.
4. Set the home microflow as default home page or role based home page.
Hope my answer helps. Reach me out for any queries.
Hi Abishek,
1. This is not applicable, as the intention is that if a specific inactive user wants to login, at that moment the app must make that user active
2. It is unclear for me where I can call a microflow before login:
- in an AfterStartup-microflow, the currentUser is not available yet, so the user cannot be made active
- In App >>> Settings > Runtime there is not possibility to specify an AfterSignin-microflow
- In App >>> Security, also no AfterSignin-microflow can be specified
So , summarized, it seems to me that there is no way to make a user active when he/she is in the process of logging in via the standard login-page.
Any thoughts on your side?
Regards, René
Dear Rene,
1. You can call the microflow through a nanoflow with signin activity, if using custom login page.
2. If using login.html then try to call the microflow on signin button click through js using mendix client api.
FYR- Medium and Client API | Mendix Documentation
Hope my answer helps. Reach me out for any queries.