Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+1
person also asked this
people also asked this
Replies
13 replies
Answers
1 answer
Subscribers
8 subscribers
Views
19288 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
How to find users last login time stamp?
anamikav
over 8 years ago
#ProcessModeling
~~~Appian 7.6~~~~
Hello, How to find users last login time stamp?
As per the requirement ‘if user doesn’t login to Appian application for 30 days, system needs to send email notification informing user that the account will be deactivated’. It has to be done at application level.
I will appreciate any help, Thanks!
OriginalPostID-231874
Discussion posts and replies are publicly visible
Parents
0
sureshg57
over 7 years ago
Hi
anamikav
,
As a sustainable solution I would say it is much better or easier to read the log file and store it in your DB and use a mechanism to check the users who has not logged in to system for the specified day and notify them and deactivate them. We have similar kind of requirement and we have adopted this approach because this will put lot more less strain on system and easy to maintain and do not have issues where when we need to zip out log files to reduce memory and so on.etc.
You can read each login audit file form previous day and directly write to DB. You should have a clean up mechanism to tables to delete older data so house keeping is done. you can have another process to check for users how have not logged in to system and send notification and later deactivate. If you have a huge user base and just using a function to check a single user last date would user lot of system resources and will be a very slow process.
Regards
Suresh
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Reply
0
sureshg57
over 7 years ago
Hi
anamikav
,
As a sustainable solution I would say it is much better or easier to read the log file and store it in your DB and use a mechanism to check the users who has not logged in to system for the specified day and notify them and deactivate them. We have similar kind of requirement and we have adopted this approach because this will put lot more less strain on system and easy to maintain and do not have issues where when we need to zip out log files to reduce memory and so on.etc.
You can read each login audit file form previous day and directly write to DB. You should have a clean up mechanism to tables to delete older data so house keeping is done. you can have another process to check for users how have not logged in to system and send notification and later deactivate. If you have a huge user base and just using a function to check a single user last date would user lot of system resources and will be a very slow process.
Regards
Suresh
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Children
No Data