Transpas can perform background tasks using one or more application servers.
The application server (app server) is a Windows service.
To enable an action to run on the Application Server, the field Application Server in the Actions screen must be set to Yes.
You can view which actions are currently being executed by the application server(s) in the Application Server screen:
F11 -> Application Server
Main files -> Settings -> System -> Application Server
The route calculation action in the screenshot above is executed every day, from midnight to midnight, every 3 seconds by the ROUTE instance.
AppSvrNr | The number of the application service |
Day | The specific day the action should run on, or daily if it should run every day |
Action | The action to be executed |
Start Time | The time from which the action is allowed to run |
End Time | The time after which the action is no longer allowed to run |
Interval | In seconds. For example, enter 60 to run the action every minute, or 3600 for once per hour |
Instance | The instance responsible for executing the action. If left empty, it will default to ASAPPSVR32 . See Appserver Instances below for more information |
Active | If set to Yes, the action will be executed. If set to No or left empty, it will not run |
Log | Whether or not the action is logged |
Last executed | Some actions use this field to indicate when the action was last executed |
Each instance corresponds to a separate Windows service running on the server.
A typical installation appears in the Services window on the server as follows:
In most cases, several Application Server instances will be created.
If one Windows service encounters an error and crashes, the actions handled by other instances will continue to run.
In the Application Server screen, enter the word that appears after the
$
symbol.
For example, if the app server instance is calledASAPPSVR32$ROUTE
, enterROUTE
in the instance field.
If the App Server uses network resources (e.g., an import folder on a file server or exports to a network share), the Windows Service must run under a domain account with the appropriate permissions.
Create a domain service account, e.g. svc-transpas
Grant this account:
Configure the Transpas App Server Windows Service to run under this account:
Without proper permissions, actions like import/export, email sending, or saving files to a network share may fail.
Transpas typically logs App Server errors in:
eventvwr.msc
)ROUTE
, EXPORT
, BCOMM
) to avoid one task blocking others