(9.1+) Installing Smart Rules
Smart Rules is installed with On-Premise Callback version 9.1 or later, and you can begin using Smart Rules immediately by selecting the "Smart Rules" tile on the Launchpad. However, additional configuration must be done after installation before using the feature.
Configure SMTP to receive emails
You will need to configure your SMTP server to receive emails from Smart Rules.Open the SmtpConfig table in the VHT_Config database and fill out the following fields:
SiteName
Host name: SMTP server
Port: SMTP server
UseSSL: secure connection option
UserName: Not required
Password: Not required
(Optional) Create a secure password
If you choose to use a password for SMTP, you will need to secure the password in order to send emails. You can encrypt your SMTP password using the following steps:
Open the Password Encryptor in the Smart Rules engine folder.
Enter a password.
Click the Encrypt button.
The encrypted password displays in the Encrypted Results field.
Click the Copy to Clipboard for the Encrypted Results field to copy the encrypted password.
Add this password to SmtpConfig table in the Configuration database.
Save the configuration file.
Restart Smart Rules to apply the changes
(9.5.6+) Configure user credentials
In On-Premise Callback 9.5.6 and later, you will need to configure the Smart Rules user account manually in the VHT_SmartRulesEngineService.exe.config file, via the steps below:
Encrypt your chosen password via the password encryptor utility (\\Virtual Hold Technology\SmartRulesEngine\passwordecryptor.exe).
Back up and open the VHT_SmartRulesEngineService.exe.config file in the same directory.
In the VHT_SmartRulesEngineService.exe.config file, update the following lines with your username and encrypted password:
<appSettings> ... <add key="SmartRulesApiUser" value="smart_rules_user"/> <add key="SmartRulesApiPassword" value="encrypted_password"/> </appSettings> The following example shows an updated configuration file:
Save the changes when finished.
(9.1 and earlier) Post-installation steps
Open the Windows Services utility (services.msc)
Locate the VHT Smart Rules Engine service and open the service Properties window
- Copy and save the Service name
Default: VHT_Smart_Rules_Engine
- Copy and save the Path to executable
Default: C:\Program Files (x86)\Virtual Hold Technology\SmartRulesEngine\VHT_SmartRulesEngineService.exe
Open a Command Prompt window
Run the following command to use the Service Control utility to change the Path to executable:
There must be a space between binPath= and the executable path.
Escape characters (\") must be used to add the quotation marks, since quotation marks are already used in the command.
Re-open the properties window for the Smart Rules Engine service and verify that the Path to executable is now enclosed in quotation marks.
Restart the Smart Rules Engine service