Passing a file path to a shell script

Hi,

I am trying to pass the path of a modified file to a shell script (that calls the Easy Data Transform command line) whenever a file in a folder changes. But I can't work out how to get $KMVAR_File_Path to have the path of the file.

image

I looked through the help and forum. But I still didn't manage to get it working. Any help appreciated.

File_Path is not defined.

You can use %TriggerValue% to access the added file's path.

Have a read here.

1 Like

Thanks. This seems to work.

image

I also added a condition so that it only triggers when the file changed has a .xml extension.

1 Like