How to determine which user launched the process from the web-application?
Best Answer
-
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
0 -
Hi kershov,
the Process scheduler in the Web interface displays some information (see screenshot).
Hope this helps.
Best,
Edin
1 -
Hello, Edin! Thanks for response!
But if you run process from web application, you will not see any running processes in Process-Scheduler.
0 -
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
1 -
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 -
Works great! Thnx!
1