The Laserfiche Server Automation component of Laserfiche Workflow Suite 7 normally runs as a Windows service. However, you can also run Server Automation as a console application for troubleshooting purposes.
To start Server Automation as a console application
- Stop the Laserfiche Server Automation service.
- Click Start and then click Control Panel.
- Double-click Administrative Tools.
- Double-click Services.
- Scroll down and select Laserfiche Server Automation.
- From the Action menu, point to All Tasks and then select Stop.
- Click Start and then click Run.
- In the Run dialog box, type the following and click OK to load a command prompt window.
cmd
- At the command prompt, type the following and press ENTER to start Server Automation in console mode.
"C:\Program Files\Laserfiche\WorkflowSuite\ServerAutomation\ServerAutomation.exe" -d
Any action taken by Server Automation will be displayed in the console window. Green text indicates successful workflow actions. Red text indicates routing errors. Yellow text indicates warnings.
You can also configure the console mode of Server Automation to output information directly to a log file without displaying it in the console window.
To start Server Automation as a console application while logging to a log file
- Stop the Laserfiche Server Automation service.
- Click Start and then click Control Panel.
- Double-click Administrative Tools.
- Double-click Services.
- Scroll down and select Laserfiche Server Automation.
- From the Action menu, point to All Tasks and then select Stop.
- Click Start and then click Run.
- In the Run dialog box, type the following and click OK to load a command prompt window.
cmd
- At the command prompt, type the following and press ENTER to start Server Automation in console mode and to log information to a log file instead of writing information to the console.
"C:\Program Files\Laserfiche\WorkflowSuite\ServerAutomation\ServerAutomation.exe" -d >"Path_to_log_file"
Laserfiche Workflow Suite 7.0.1 includes an additional level of logging. You can modify the JServiceModule.ini file to configure Server Automation to also output relevant Laserfiche audit event information affecting the workflow.
To enable Server Automation to write audit event information to the console
- Browse to the installation path for Server Automation. By default, the install path is "C:\Program Files\Laserfiche\WorkflowSuite\ServerAutomation."
- Using a text editor, open the JServiceModule.ini file.
- Under the [SystemProperties] section, add the following line:
com.laserfiche.audit.event.EventFactory.PrintXml=true
- Save your changes.