The running processes are executed at the server or user local computer. By default server runtime is configured for running processes providing execution of resourceintensive calculations.
The setup of server or client process runtime is executed using theTask Scheduler tool of Foresight Analytics Platform.
To set up server execution:
Select the Tools > Parameters main menu item in object navigator.
In the Parameters dialog box on the Global Variables tab set global variable BPM_CLIENT_EXECUTION to 0.
NOTE. If the BPM_CLIENT_EXECUTION global variable is set to 1, then running processes will be executed on the user local computer.
On client process execution, it is available to stop and restart running process.
On server process execution, stop and restart are executed only in scheduler task container started at server.
In the object navigator find the scheduled task container with the BPM_EXECUTOR_CONTAINER identifier and open it:
NOTE. If there is no scheduled task container with BPM_EXECUTOR_CONTAINER identifier or empty or with error, then start a form with the BP_UTIL identifier and click the Initialize Task Scheduler button in it.
Save settings for task scheduler:
Select the Task Container > Save Options for Scheduler main menu item.
Click the button on the toolbar.
Press CTRL+S.
After executing one of the actions the dialog box opens:
In the dialog box that opens in the File edit box check that the file name is Scheduler.xml, and enter path to file folder. By default, configuration file is saved to the folder with installed Foresight Analytics Platform.
In the dialog box that opens select password authorization and determine user name and password to start Foresight Analytics Platform. Save scheduler settings to the file by clicking the OK button.
To start task scheduler, start the Scheduler.exe file in the folder with installed Foresight Analytics Platform. A new task scheduler instance is started that is configured to the Scheduler.xml configuration file. In the task scheduler dialog box check that there is a repository, which processes will be executed at server and container with the BPM_EXECUTOR_CONTAINER identifier:
NOTE. To execute processes at server, start the task scheduler.
To provide better security and autonomous execution, it is recommended to set task scheduler as OS service.
See also: