I have a requirement to log user activity on a page on page load. What would be the best way to do so. As we don't have any feature to invoke smart services on page load, not sure how to do that.
Discussion posts and replies are publicly visible
Wdym by
shamima0001 said: log user activity on a page
This is not enough?
https://docs.appian.com/suite/help/23.2/Logging.html#records-usage
More here: docs.appian.com/.../Logging.html
Did not understand, can you please explain a bit ?
No, my requirement is to log user info along with some other data only on page load.
And for what purpose? I mean, what do you want to do with that data?
Hi,I understand, sometimes in highly regulated environments there is the policy to even capture if a user has only looked at a page.In my opinion, the best way to do this is to populate a local variable (which is not used further more in the User Interface).
local!activity: a!startProcessModel (userID: , UserInterfaceName) as parameters. This process model writes into a database table for audit purposes.If you have further needs, after the user submits the User Interface, in the process model you can write the content of changed CDTs to an audit table. I hope this gives some ideas.
You are aware that the function "startProcessModel" does not exist? And you cannot start a process without user interaction.
I need to store the data in DB for tracking / future reference.
Of course, I missed one step, my bad. We are calling with the above approach an Integration object and the webAPI is writing to the database tables the desired information.