Logout Action in Microflow

0
Hi Guys, I’ve checked out this post : https://community.mendix.com/link/questions/6759 But it seems pretty outdated and was wondering if this is still the only way to trigger a Logout in a microflow. I am using Mendix 8.11.0 at the moment. Would be great if anyone can help point me in the right direction to achieving this.   Thank you. Regards Kevin
asked
3 answers
7

The quickest solution would be to wrap your microflow with a nanoflow. In the nanoflow, you’d call the microflow, and then a JavaScript action with just 1 line of code:

mx.logout();

You can do all of that without leaving Studio Pro.

Or, the old thread solution with a Java action will still work too. I’d recommend:

com.mendix.webui.FeedbackHelper.addLogoutFeedback(getContext());

 

answered
0

Hi Kevin,

Take a look at this below link for logout in java action

https://forum.mendix.com/link/questions/6759

Hope this is what you are looking for.

Thanks,

Bharathidasan

 

answered
0

Kia ora! 

 

There is a Java Script action under "NanoflowCommons" with a SignOut action. Hopefully, that helps you :)

 

 

 

image.png

answered