runonthespot_5678

GET_EVENT_INFO with a file event, trouble

Discussion created by runonthespot_5678 on Feb 24, 2015
Latest reply on Feb 27, 2015 by Chris_Reece_2383
Hi all,

I'm using the following line to attempt to get the file picked up by a filesystem event.
:SET &INCOMING_FILE# = GET_EVENT_INFO(FILENAME)

The filesystem tab is set to get a file
C:\Incoming\PACE.*

Event is
PATH_FILE_COUNT > 0

This is triggering fine, but giving me the following runtime error:

U0020374 Runtime error in object 'DDT.EVNT.FILE.PACE_FX', line '00001': Event type is not 'Console'

Does anyone know why this might be, or if there is some other mechanism to pass the file name of the file that triggers an event, or some other way of configuring the event to work the same way?




Outcomes