Not able to get user Last Login Details

1
I have created a user and logged in with that user. I tried to get the last login details but didn’t work: Created a microflow to retrieve the last login using Admininstration.Account / System.user and then [LastLogin = $currentUser/LastLogin]. Can anyone please help me out
asked
6 answers
1

Take a look at the custom string widget: https://marketplace.mendix.com/link/component/1426

For sending a full object back for 1 parameter isn’t recommended. 
The above widget can send back the text for you. 

answered
1

Hey Venu, 

The currentuser (when logged in) should already have this information without needing to retrieve it from DB. 
To get it out just make a variable (reference screenshot):

 

Your XPath currently says: Get All Accounts that have the same last login as my current user. 
If you want to retrieve yourself from DB go with [id = $currentUser]

However, this should not have to be the case as the above variable should give you the information without needing to do this. 

answered
0

 

Created a microflow and returning as Date and Time. But how do I retrieve that in a page. Please let me know

 

answered
0

 

Created a microflow and returning as Date and Time. But how do I retrieve that in a page. Please let me know

 

answered
0

Able to use CustomString widget but it is retrieving the current login time. I want to retrieve the previous login date and time(for example, I logged in at 7/22/2021 9:50 AM for the first time and 7/22/2021 9:55 AM second time then I should see the first login time).

 

answered
0

Have you replicated the issue if yes provide how did you achieved 

Thanks in advance 

answered