WORKINGDIR

Returns the working directory for the event handler that is running.

If the event handler is running:

  • Using the Infor Framework Event Service (in the case of queued and waiting events and handlers), the working directory is the folder containing EventService.exe. Usually this is the application's installation folder (for example, C:\Program Files\Infor\Application on the utility server).
  • Using the Infor Framework IDO Runtime Service, the working directory is the folder containing IDORuntimeService.exe. Usually this is the application's installation folder (for example, C:\Program Files\Infor\Application on the utility server).
  • Inside the database, the working directory is %WINDIR%.
Note:  This function is equivalent to the WORKINGDIR( ) method in the WinStudio API.

Return Value

String

Syntax

WORKINGDIR( )