How to call a microflow after user is logged in and how to get current user details

Hi all, How to call a microflow automatically after user is logged in to the application successfully through SSO or normal login screen. How to get current user details.     Thanks in Advance, Surya
1 answers


In your navigation profile you can select a default home page or even a role based homepage. The name is a bit misleading, you can also select a microflow here. You can place your desired logic in this microflow. Be sure to place a show page action at the end of that microflow so the user does really end up on a homepage.

Your $currentuser is a variable in this flow so you can retrieve any associated objects or use attributes of the user object here. If you need the account object instead, you should use the cast action in your microflow to get the account object instead.