QPR ProcessAnalyzer ScriptLauncher: Difference between revisions
No edit summary |
|||
Line 32: | Line 32: | ||
==Running QPR ProcessAnalyzer ScriptLauncher== | ==Running QPR ProcessAnalyzer ScriptLauncher== | ||
After you have configured the parameters as explained in the section above, run '''Qpr.ProcessAnalyzer.ScriptLauncher.exe'''. You can also run it from Command Prompt.<br/> | |||
'''Note:''' You need to have RunScripts rights. |
Revision as of 10:00, 5 May 2015
QPR ProcessAnalyzer ScriptLauncher is a tool which enables you to run QPR ProcessAnalyzer scripts on a QPR ProcessAnalyzer Server. QPR ProcessAnalyzer ScriptLauncher is part of the installation package of QPR ProcessAnalyzer and consists of two files:
- Qpr.ProcessAnalyzer.ScriptLauncher.exe (an executable file)
- Qpr.ProcessAnalyzer.ScriptLauncher.exe.config (a configuration file)
Both of these files are located in the QPR Connector folder that is under the QPR ProcessAnalyzer Installation folder (e.g. C:\Program Files (x86)\QPR ProcessAnalyzer 2015\QPR Connector). Note that QPR Connector needs to be selected to be installed when installing QPR ProcessAnalyzer (by default it is).
Configuring QPR ProcessAnalyzer ScriptLauncher
Before you can start running scripts with QPR ProcessAnalyzer ScriptLauncher, you need to configure the connection and other parameters for the tool.
Note: You need to have write access to the folder where the files for QPR ProcessAnalyzer ScriptLauncher are located.
1. Open the Qpr.ProcessAnalyzer.ScriptLauncher.exe.config file in a text editor.
2. Within that file, go to the following section:
<userSettings> <Qpr.ProcessAnalyzer.ScriptLauncher.Properties.Settings>
3. Configure the values for the following parameters:
- ConnectionType: Service
- LogOnName: your QPR ProcessAnalyzer username
- Password: your QPR ProcessAnalyzer username
- ConnectionString: the connection string to the QPR ProcessAnalyzer database (e.g. Server=localhost;DataBase=<database_name>;Trusted_Connection=True)
- ServiceUrl: the URL of your service
- ProjectId: the ID of the project (0 = default; currently running project)
- ModelId: the ID of the model (0 = default; currently running model)
- FilterId: the ID of the filter (0 = default; currently running filter)
- ScriptId: the ID of the script you want to run. You can copy the ID from the Script Manager in QPR ProcessAnalyzer Excel Client.
4. In case you want to change location of the log file that will be created, you can do that by changing the value of the parameter LogFilePath in the following section of the configuration file:
<applicationSettings> <Qpr.ProcessAnalyzer.ScriptLauncher.Properties.Settings>
Note that the log folder needs to exist before running QPR ProcessAnalyzer ScriptLauncher and you must have rights to write to that folder.
By default, the log file will be stored in the same folder as the configuration file.
Running QPR ProcessAnalyzer ScriptLauncher
After you have configured the parameters as explained in the section above, run Qpr.ProcessAnalyzer.ScriptLauncher.exe. You can also run it from Command Prompt.
Note: You need to have RunScripts rights.