The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
How to determine which user launched the process from the web-application?
Best Answer
-
Edin_Klapic Employee-RapidMiner, RMResearcher, Member Posts: 299 RM Data Scientist
Hi kershov,
ok, so you are referring to the Web Apps.
So let's say there is a user who changes a value in a settings component which then leads to a execution of a process. And you want to capture this user, right?
In this case Scotts proposal is the best way to go.
For testing you could use the Operator Print to Console and enter the macro %{_ra_user}. When this process is executed the user who executes this process is printed to the log file (i.e. server.log).
Best,
Edin
2
Answers
Hello - all user actions are recorded in the log files in RM Server. Unfortunately the log files are rather verbose but you should be able to find what you need.
Scott
Hi kershov,
the Process scheduler in the Web interface displays some information (see screenshot).
Hope this helps.
Best,
Edin
Hello, Edin! Thanks for response!
But if you run process from web application, you will not see any running processes in Process-Scheduler.
hi...another option is to use the logging features to create your own user log. The user can be read in Studio as the macro "_ra_user" and then use the "Provide Macro as Log Value" operator to add it to the log. I have used this method in the past as it allows me to customize what exactly I want to log (user, timestamp, etc) and put it where I can easily access it later.
Scott
Works great! Thnx!