The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Hello!
How to determine which user launched the process from the application?
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
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
the Process scheduler in the Web interface displays some information (see screenshot).
Hope this helps.
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.
Works great! Thnx!
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…