Hello!Apologies if this has already been answered but i am attempting to capture the current user name, date and time when they open an interface and then record this for later.So i have:loggedInUser() - which with no other details gives me the current user(great) now() - which gives me the current time and dateI am unsure of how to tie this all together I am guessing if I use a process model I can call a rule to get this information but then I need to add this to a record type and this process would need to be fired on open of the interface?? I'm just lost right now! Sorry i'm a bit lost any help would be greatly apricated.Thank you!
Discussion posts and replies are publicly visible
Information can only be recorded from an interface if a User takes some sort of action. Whilst you can set the current user name and current date/time when the interface opens it can only be persisted to the database when the user interacts with the interface - they have to hit a button or change some data or some other user-event. Are you wanting to record when someone has simply opened up an interface to have a look but takes no other action?
Ahh ok that is useful.The plan was to capture when a user last used an application which i suppose from what you are saying we would need to tie to them going into the application and then taking the first action/step.We might also need to redefine what counts as using the application or add an application close button
Hold that thought...whilst you cannot implement this in Designer, there is a log of when a User accesses a Record List or opens up a Record to view it. You can find this log in /audit/records_usage.csv in the 'System Logs'.
Thank you! I will have a look :)