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
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.
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.